delete media section for now
This commit is contained in:
@@ -37,16 +37,6 @@ const registerInternalManifests = async () => {
|
||||
weight: 50
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'section',
|
||||
alias: 'Umb.Section.Media',
|
||||
name: 'Media',
|
||||
elementName: 'umb-media-section',
|
||||
js: () => import('./media/media-section.element'),
|
||||
meta: {
|
||||
weight: 40
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'section',
|
||||
alias: 'Umb.Section.Members',
|
||||
@@ -87,7 +77,7 @@ const registerInternalManifests = async () => {
|
||||
sections: ['Umb.Section.Content'],
|
||||
weight: 10
|
||||
}
|
||||
}
|
||||
},
|
||||
];
|
||||
manifests.forEach((manifest: UmbExtensionManifest) => extensionRegistry.register(manifest));
|
||||
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
import { defineElement } from '@umbraco-ui/uui-base/lib/registration';
|
||||
import { UUITextStyles } from '@umbraco-ui/uui-css/lib';
|
||||
import { css, html, LitElement } from 'lit';
|
||||
|
||||
@defineElement('umb-media-section')
|
||||
export class UmbMediaSection extends LitElement {
|
||||
static styles = [
|
||||
UUITextStyles,
|
||||
css``,
|
||||
];
|
||||
|
||||
render() {
|
||||
return html`<div>Media Section</div>`;
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'umb-media-section': UmbMediaSection;
|
||||
}
|
||||
}
|
||||
@@ -46,7 +46,7 @@ export const handlers = [
|
||||
return res(
|
||||
ctx.status(200),
|
||||
ctx.json<AllowedSectionsResponse>({
|
||||
sections: ['Umb.Section.Content', 'Umb.Section.Media', 'Umb.Section.Settings', 'My.Section.Custom'],
|
||||
sections: ['Umb.Section.Content', 'Umb.Section.Settings', 'My.Section.Custom'],
|
||||
})
|
||||
);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user