diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-preview/dot-file-field-preview.component.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-preview/dot-file-field-preview.component.ts index 4fb45d02cd7a..e9d26cd6c133 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-preview/dot-file-field-preview.component.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/components/dot-file-field-preview/dot-file-field-preview.component.ts @@ -18,7 +18,11 @@ import { DialogModule } from 'primeng/dialog'; import { catchError } from 'rxjs/operators'; import { DotResourceLinksService } from '@dotcms/data-access'; -import { DotCMSBaseTypesContentTypes, DotCMSContentlet, DotFileMetadata } from '@dotcms/dotcms-models'; +import { + DotCMSBaseTypesContentTypes, + DotCMSContentlet, + DotFileMetadata +} from '@dotcms/dotcms-models'; import { DotPreviewResourceLink, UploadedFile diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/dot-edit-content-file-field.const.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/dot-edit-content-file-field.const.ts index b7ef4d318065..8d008c5d8b63 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/dot-edit-content-file-field.const.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-file-field/dot-edit-content-file-field.const.ts @@ -40,8 +40,7 @@ export const INPUT_CONFIG: ConfigActions = { export const DEFAULT_CONTENT_TYPE = 'asset'; - export const CONTENT_TYPES = { - 'DotAsset': 'asset', - 'FileAsset': 'fileAsset', + DotAsset: 'asset', + FileAsset: 'fileAsset' };