item.value,
(item) => html`
this.#submit(item)}>
diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.ts
index c94e3d9126..0a25c5c759 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.ts
@@ -215,6 +215,7 @@ export class UmbWorkspaceSplitViewVariantSelectorElement extends UmbLitElement {
return html`
html`
-
+
diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/components/input-document-type/input-document-type.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/components/input-document-type/input-document-type.element.ts
index ce3702cb23..a0a7d6a13c 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/components/input-document-type/input-document-type.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/components/input-document-type/input-document-type.element.ts
@@ -204,7 +204,7 @@ export class UmbInputDocumentTypeElement extends UmbFormControlMixin
+
${this.#renderIcon(item)}
diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/repository/composition/index.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/repository/composition/index.ts
index 99c179ec94..8a9f7eae16 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/repository/composition/index.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/repository/composition/index.ts
@@ -1,2 +1 @@
-export { UmbDocumentTypeCompositionRepository } from './document-type-composition.repository.js';
export { UMB_DOCUMENT_TYPE_COMPOSITION_REPOSITORY_ALIAS } from './manifests.js';
diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/repository/composition/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/repository/composition/manifests.ts
index 1732701de6..b01f3b0be9 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/repository/composition/manifests.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/documents/document-types/repository/composition/manifests.ts
@@ -2,11 +2,11 @@ import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/
export const UMB_DOCUMENT_TYPE_COMPOSITION_REPOSITORY_ALIAS = 'Umb.Repository.DocumentType.Composition';
-const queryRepository: ManifestRepository = {
+const compositionRepository: ManifestRepository = {
type: 'repository',
alias: UMB_DOCUMENT_TYPE_COMPOSITION_REPOSITORY_ALIAS,
name: 'Document Type Composition Repository',
api: () => import('./document-type-composition.repository.js'),
};
-export const manifests: Array = [queryRepository];
+export const manifests: Array = [compositionRepository];
diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts
index c6e010236a..3f6751d76b 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts
@@ -133,60 +133,65 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
}
#renderDocumentTypes() {
- return html`
- ${when(
- this._allowedDocumentTypes.length === 0,
- () => html`
-
- There are no allowed Document Types available for creating content here. You must enable these in
- Document Types within the Settings section, by editing the
- Allowed child node types under Permissions.
-
- this._rejectModal()}
- href=${`/section/settings/workspace/document-type/edit/${this.data?.documentType?.unique}/view/structure`}
- label=${this.localize.term('create_noDocumentTypesEditPermissions')}>
- `,
- () =>
- repeat(
- this._allowedDocumentTypes,
- (documentType) => documentType.unique,
- (documentType) =>
- html` this.#onSelectDocumentType(documentType.unique)}>
-
- `,
- ),
- )}
- `;
+ return html`
+
+ ${when(
+ this._allowedDocumentTypes.length === 0,
+ () => html`
+
+ There are no allowed Document Types available for creating content here. You must enable these in
+ Document Types within the Settings section, by editing the
+ Allowed child node types under Permissions.
+
+ this._rejectModal()}>
+ `,
+ () =>
+ repeat(
+ this._allowedDocumentTypes,
+ (documentType) => documentType.unique,
+ (documentType) => html`
+ this.#onSelectDocumentType(documentType.unique)}>
+
+
+ `,
+ ),
+ )}
+
+ `;
}
#renderBlueprints() {
- return html`
- this.#onNavigate(this.#documentTypeUnique)}>
-
-
- ${repeat(
- this._availableBlueprints,
- (blueprint) => blueprint.unique,
- (blueprint) =>
- html` this.#onNavigate(this.#documentTypeUnique, blueprint.unique)}>
-
- `,
- )} `;
+ return html`
+
+ this.#onNavigate(this.#documentTypeUnique)}>
+
+
+ ${repeat(
+ this._availableBlueprints,
+ (blueprint) => blueprint.unique,
+ (blueprint) =>
+ html` this.#onNavigate(this.#documentTypeUnique, blueprint.unique)}>
+
+ `,
+ )}
+
+ `;
}
static override styles = [
diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/views/info/document-workspace-view-info.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/views/info/document-workspace-view-info.element.ts
index 0a650e22e4..13344c29a1 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/views/info/document-workspace-view-info.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/views/info/document-workspace-view-info.element.ts
@@ -252,7 +252,7 @@ export class UmbDocumentWorkspaceViewInfoElement extends UmbLitElement {
+ name=${ifDefined(this.localize.string(this._documentTypeName ?? ''))}>
diff --git a/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group-box-overview.element.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group-box-overview.element.ts
index 42d8679729..3dadc4cee6 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group-box-overview.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group-box-overview.element.ts
@@ -64,25 +64,25 @@ export class UmbHealthCheckGroupBoxOverviewElement extends UmbLitElement {
_renderCheckResults(resultObject: any) {
return html`${resultObject.success > 0
? html`
-
+
${resultObject.success}
`
: nothing}
${resultObject.warning > 0
? html`
-
+
${resultObject.warning}
`
: nothing}
${resultObject.error > 0
? html`
-
+
${resultObject.error}
`
: nothing}
${resultObject.info > 0
? html`
-
+
${resultObject.info}
`
: nothing} `;
diff --git a/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group.element.ts b/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group.element.ts
index 787edc26c6..084d41a1a9 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/health-check/views/health-check-group.element.ts
@@ -129,7 +129,7 @@ export class UmbDashboardHealthCheckGroupElement extends UmbLitElement {
case StatusResultTypeModel.SUCCESS:
return html``;
case StatusResultTypeModel.WARNING:
- return html``;
+ return html``;
case StatusResultTypeModel.ERROR:
return html``;
case StatusResultTypeModel.INFO:
diff --git a/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/constants.ts b/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/constants.ts
new file mode 100644
index 0000000000..43f9eb4861
--- /dev/null
+++ b/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/constants.ts
@@ -0,0 +1 @@
+export const UMB_LANGUAGE_WORKSPACE_ALIAS = 'Umb.Workspace.Language';
diff --git a/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/language-workspace.context.ts b/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/language-workspace.context.ts
index 87d2816bd5..934b5700d8 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/language-workspace.context.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/language-workspace.context.ts
@@ -1,6 +1,7 @@
import { UmbLanguageDetailRepository } from '../../repository/index.js';
import type { UmbLanguageDetailModel } from '../../types.js';
import { UmbLanguageWorkspaceEditorElement } from './language-workspace-editor.element.js';
+import { UMB_LANGUAGE_WORKSPACE_ALIAS } from './constants.js';
import {
type UmbSubmittableWorkspaceContext,
UmbSubmittableWorkspaceContextBase,
@@ -27,7 +28,7 @@ export class UmbLanguageWorkspaceContext
readonly validationErrors = this.#validationErrors.asObservable();
constructor(host: UmbControllerHost) {
- super(host, 'Umb.Workspace.Language');
+ super(host, UMB_LANGUAGE_WORKSPACE_ALIAS);
this.routes.setRoutes([
{
diff --git a/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/manifests.ts
index 6abbf9bf69..ce98f96aaa 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/manifests.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/language/workspace/language/manifests.ts
@@ -1,3 +1,4 @@
+import { UMB_LANGUAGE_WORKSPACE_ALIAS } from './constants.js';
import { UmbSubmitWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
import type {
ManifestWorkspaces,
@@ -9,7 +10,7 @@ import type {
const workspace: ManifestWorkspaces = {
type: 'workspace',
kind: 'routable',
- alias: 'Umb.Workspace.Language',
+ alias: UMB_LANGUAGE_WORKSPACE_ALIAS,
name: 'Language Workspace',
api: () => import('./language-workspace.context.js'),
meta: {
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/components/input-media-type/input-media-type.element.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/components/input-media-type/input-media-type.element.ts
index 5c2173cdd9..9b7c64f927 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/components/input-media-type/input-media-type.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/components/input-media-type/input-media-type.element.ts
@@ -174,7 +174,7 @@ export class UmbInputMediaTypeElement extends UmbFormControlMixin
+
${this.#renderIcon(item)}
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/index.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/index.ts
index 39c2b4ea8b..4fdc741116 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/index.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/index.ts
@@ -1,12 +1,11 @@
import './components/index.js';
export * from './components/index.js';
-export * from './workspace/index.js';
-
+export * from './entity.js';
export * from './repository/index.js';
export * from './tree/types.js';
-export * from './utils.ts/index.js';
export * from './types.js';
-export * from './entity.js';
+export * from './utils.ts/index.js';
+export * from './workspace/index.js';
export { UMB_MEDIA_TYPE_PICKER_MODAL } from './tree/index.js';
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/index.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/index.ts
new file mode 100644
index 0000000000..e9c3158173
--- /dev/null
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/index.ts
@@ -0,0 +1 @@
+export { UMB_MEDIA_TYPE_COMPOSITION_REPOSITORY_ALIAS } from './manifests.js';
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/manifests.ts
new file mode 100644
index 0000000000..16ad5b903c
--- /dev/null
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/manifests.ts
@@ -0,0 +1,12 @@
+import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
+
+export const UMB_MEDIA_TYPE_COMPOSITION_REPOSITORY_ALIAS = 'Umb.Repository.MediaType.Composition';
+
+const compositionRepository: ManifestRepository = {
+ type: 'repository',
+ alias: UMB_MEDIA_TYPE_COMPOSITION_REPOSITORY_ALIAS,
+ name: 'Media Type Composition Repository',
+ api: () => import('./media-type-composition.repository.js'),
+};
+
+export const manifests: Array = [compositionRepository];
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/media-type-composition.repository.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/media-type-composition.repository.ts
new file mode 100644
index 0000000000..a73570e069
--- /dev/null
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/media-type-composition.repository.ts
@@ -0,0 +1,36 @@
+import { UmbMediaTypeCompositionServerDataSource } from './media-type-composition.server.data-source.js';
+import type { UmbContentTypeCompositionRepository } from '@umbraco-cms/backoffice/content-type';
+import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
+import type {
+ UmbMediaTypeAvailableCompositionRequestModel,
+ UmbMediaTypeCompositionCompatibleModel,
+ UmbMediaTypeCompositionReferenceModel,
+} from '@umbraco-cms/backoffice/media-type';
+import { UmbRepositoryBase } from '@umbraco-cms/backoffice/repository';
+
+export class UmbMediaTypeCompositionRepository
+ extends UmbRepositoryBase
+ implements
+ UmbContentTypeCompositionRepository<
+ UmbMediaTypeCompositionReferenceModel,
+ UmbMediaTypeCompositionCompatibleModel,
+ UmbMediaTypeAvailableCompositionRequestModel
+ >
+{
+ #compositionSource: UmbMediaTypeCompositionServerDataSource;
+
+ constructor(host: UmbControllerHost) {
+ super(host);
+ this.#compositionSource = new UmbMediaTypeCompositionServerDataSource(this);
+ }
+
+ async getReferences(unique: string) {
+ return this.#compositionSource.getReferences(unique);
+ }
+
+ async availableCompositions(args: UmbMediaTypeAvailableCompositionRequestModel) {
+ return this.#compositionSource.availableCompositions(args);
+ }
+}
+
+export { UmbMediaTypeCompositionRepository as api };
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/media-type-composition.server.data-source.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/media-type-composition.server.data-source.ts
new file mode 100644
index 0000000000..81e1e7d28b
--- /dev/null
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/composition/media-type-composition.server.data-source.ts
@@ -0,0 +1,86 @@
+import type {
+ UmbMediaTypeCompositionCompatibleModel,
+ UmbMediaTypeCompositionReferenceModel,
+ UmbMediaTypeAvailableCompositionRequestModel,
+} from '../../types.js';
+import { type MediaTypeCompositionRequestModel, MediaTypeService } from '@umbraco-cms/backoffice/external/backend-api';
+import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
+import { tryExecuteAndNotify } from '@umbraco-cms/backoffice/resources';
+import type { UmbContentTypeCompositionDataSource } from '@umbraco-cms/backoffice/content-type';
+
+/**
+ * A data source for the Media Type Composition that fetches data from the server
+ * @export
+ * @class UmbMediaTypeCompositionServerDataSource
+ */
+export class UmbMediaTypeCompositionServerDataSource
+ implements
+ UmbContentTypeCompositionDataSource<
+ UmbMediaTypeCompositionReferenceModel,
+ UmbMediaTypeCompositionCompatibleModel,
+ UmbMediaTypeAvailableCompositionRequestModel
+ >
+{
+ #host: UmbControllerHost;
+
+ /**
+ * Creates an instance of UmbMediaTypeCompositionServerDataSource.
+ * @param {UmbControllerHost} host
+ * @memberof UmbMediaTypeCompositionServerDataSource
+ */
+ constructor(host: UmbControllerHost) {
+ this.#host = host;
+ }
+ /**
+ * Fetches the compatible compositions for a Media type from the server
+ * @param {string} unique
+ * @return {*}
+ * @memberof UmbMediaTypeCompositionServerDataSource
+ */
+ async getReferences(unique: string) {
+ const response = await tryExecuteAndNotify(
+ this.#host,
+ MediaTypeService.getMediaTypeByIdCompositionReferences({ id: unique }),
+ );
+ const error = response.error;
+ const data: Array | undefined = response.data?.map((reference) => {
+ return {
+ unique: reference.id,
+ icon: reference.icon,
+ name: reference.name,
+ };
+ });
+
+ return { data, error };
+ }
+ /**
+ * Updates the compositions for a media type on the server
+ * @param {MediaTypeCompositionRequestModel} requestBody
+ * @return {*}
+ * @memberof UmbMediaTypeCompositionServerDataSource
+ */
+ async availableCompositions(args: UmbMediaTypeAvailableCompositionRequestModel) {
+ const requestBody: MediaTypeCompositionRequestModel = {
+ id: args.unique,
+ currentCompositeIds: args.currentCompositeUniques,
+ currentPropertyAliases: args.currentPropertyAliases,
+ };
+
+ const response = await tryExecuteAndNotify(
+ this.#host,
+ MediaTypeService.postMediaTypeAvailableCompositions({ requestBody }),
+ );
+ const error = response.error;
+ const data: Array | undefined = response.data?.map((composition) => {
+ return {
+ unique: composition.id,
+ name: composition.name,
+ icon: composition.icon,
+ folderPath: composition.folderPath,
+ isCompatible: composition.isCompatible,
+ };
+ });
+
+ return { data, error };
+ }
+}
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/index.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/index.ts
index e84c58d982..e3bd416604 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/index.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/index.ts
@@ -1,3 +1,4 @@
-export * from './item/index.js';
+export * from './composition/index.js';
export * from './detail/index.js';
+export * from './item/index.js';
export * from './structure/index.js';
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/manifests.ts
index 37dcb889ef..ce74b2570d 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/manifests.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/repository/manifests.ts
@@ -1,5 +1,6 @@
import { manifests as detailManifests } from './detail/manifests.js';
import { manifests as itemManifests } from './item/manifests.js';
+import { manifests as compositionManifests } from './composition/manifests.js';
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
-export const manifests: Array = [...detailManifests, ...itemManifests];
+export const manifests: Array = [...detailManifests, ...itemManifests, ...compositionManifests];
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/types.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/types.ts
index 828514db06..17acb2e86e 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/types.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/types.ts
@@ -1,6 +1,17 @@
import type { UmbMediaTypeEntityType } from './entity.js';
-import type { UmbContentTypeModel } from '@umbraco-cms/backoffice/content-type';
+import type {
+ UmbContentTypeAvailableCompositionRequestModel,
+ UmbContentTypeCompositionCompatibleModel,
+ UmbContentTypeCompositionReferenceModel,
+ UmbContentTypeModel,
+} from '@umbraco-cms/backoffice/content-type';
export interface UmbMediaTypeDetailModel extends UmbContentTypeModel {
entityType: UmbMediaTypeEntityType;
}
+
+export interface UmbMediaTypeAvailableCompositionRequestModel extends UmbContentTypeAvailableCompositionRequestModel {}
+
+export interface UmbMediaTypeCompositionCompatibleModel extends UmbContentTypeCompositionCompatibleModel {}
+
+export interface UmbMediaTypeCompositionReferenceModel extends UmbContentTypeCompositionReferenceModel {}
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/workspace/manifests.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/workspace/manifests.ts
index a0cb73a866..01293d0d96 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/media/media-types/workspace/manifests.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media-types/workspace/manifests.ts
@@ -1,3 +1,4 @@
+import { UMB_MEDIA_TYPE_COMPOSITION_REPOSITORY_ALIAS } from '../repository/index.js';
import { UMB_MEDIA_TYPE_WORKSPACE_ALIAS } from './constants.js';
import type {
ManifestWorkspaces,
@@ -29,6 +30,7 @@ const workspaceViews: Array = [
label: '#general_design',
pathname: 'design',
icon: 'icon-document-dashed-line',
+ compositionRepositoryAlias: UMB_MEDIA_TYPE_COMPOSITION_REPOSITORY_ALIAS,
},
conditions: [
{
diff --git a/src/Umbraco.Web.UI.Client/src/packages/media/media/entity-actions/create/media-create-options-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/media/media/entity-actions/create/media-create-options-modal.element.ts
index 2773d3c991..8de7a5fef3 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/media/media/entity-actions/create/media-create-options-modal.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/media/media/entity-actions/create/media-create-options-modal.element.ts
@@ -89,7 +89,8 @@ export class UmbMediaCreateOptionsModalElement extends UmbModalBaseElement<
}
#renderNotAllowed() {
- return html`
+ return html`
+
There are no allowed Media Types available for creating media here. You must enable these in
Media Types within the Settings section, by editing the
Allowed child node types under Permissions. this._rejectModal()}
href=${`/section/settings/workspace/media-type/edit/${this.data?.mediaType?.unique}/view/structure`}
- label=${this.localize.term('create_noMediaTypesEditPermissions')}>