Populate collection edition form with initial enabled view modes value.

This commit is contained in:
mateuswetah 2024-03-18 15:21:10 -03:00
parent fddcf53d33
commit c600f2afad
1 changed files with 1 additions and 1 deletions

View File

@ -1308,7 +1308,7 @@ export default {
this.form.default_view_mode = this.collection.default_view_mode; this.form.default_view_mode = this.collection.default_view_mode;
this.form.default_order = this.collection.default_order; this.form.default_order = this.collection.default_order;
this.form.default_orderby = this.collection.default_orderby; this.form.default_orderby = this.collection.default_orderby;
this.form.enabled_view_modes = []; this.form.enabled_view_modes = this.collection.enabled_view_modes;
this.form.allow_comments = this.collection.allow_comments; this.form.allow_comments = this.collection.allow_comments;
this.form.allows_submission = this.collection.allows_submission; this.form.allows_submission = this.collection.allows_submission;
this.form.submission_anonymous_user = this.collection.submission_anonymous_user; this.form.submission_anonymous_user = this.collection.submission_anonymous_user;