diff --git a/frontend/app-config/webpack.config.js b/frontend/app-config/webpack.config.js index 5af423b91..0f719a34a 100644 --- a/frontend/app-config/webpack.config.js +++ b/frontend/app-config/webpack.config.js @@ -268,9 +268,9 @@ module.exports = function calculateConfig(env) { { from: './node_modules/ace-builds/src-min/ace.js', to: 'dependencies/ace/ace.js' }, { from: './node_modules/ace-builds/src-min/ext-language_tools.js', to: 'dependencies/ace/ext/language_tools.js' }, { from: './node_modules/ace-builds/src-min/ext-modelist.js', to: 'dependencies/ace/ext/modelist.js' }, - { from: './node_modules/ace-builds/src-min/mode-*.js', to: 'dependencies/ace/[name].[ext]' }, + { from: './node_modules/ace-builds/src-min/mode-*.js', to: 'dependencies/ace/[name][ext]' }, { from: './node_modules/ace-builds/src-min/snippets', to: 'dependencies/ace/snippets' }, - { from: './node_modules/ace-builds/src-min/worker-*.js', to: 'dependencies/ace/[name].[ext]' }, + { from: './node_modules/ace-builds/src-min/worker-*.js', to: 'dependencies/ace/[name][ext]' }, { from: './node_modules/video.js/dist/video.min.js', to: 'dependencies/videojs' }, { from: './node_modules/video.js/dist/video-js.min.css', to: 'dependencies/videojs' }, diff --git a/frontend/app/shared/services/schemas.service.ts b/frontend/app/shared/services/schemas.service.ts index 0f3893e45..a8c4e89d1 100644 --- a/frontend/app/shared/services/schemas.service.ts +++ b/frontend/app/shared/services/schemas.service.ts @@ -152,9 +152,12 @@ export class SchemaDto { }; const result: any = { + previewUrls: this.previewUrls, properties: cleanup(this.properties), category: this.category, scripts: this.scripts, + isPublished: this.isPublished, + fieldRules: this.fieldRules, fieldsInLists: this.fieldsInLists, fieldsInReferences: this.fieldsInReferences, fields: this.fields.map(field => { diff --git a/frontend/app/shared/state/contents.forms.ts b/frontend/app/shared/state/contents.forms.ts index 9ae74214a..115e7363a 100644 --- a/frontend/app/shared/state/contents.forms.ts +++ b/frontend/app/shared/state/contents.forms.ts @@ -495,7 +495,7 @@ export class ObjectForm extends AbstractCont constructor(globals: FormGlobals, path: string, field: TField, isOptional: boolean, private readonly partition: string, ) { - super(globals, path, field, ObjectForm.buildControl(field, isOptional, true), isOptional); + super(globals, path, field, ObjectForm.buildControl(field, isOptional, false), isOptional); } public get(field: string | { name: string }): FieldItemForm | undefined {