From c600f2afad4a329a4013ed511074b7dcec773970 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 18 Mar 2024 15:21:10 -0300 Subject: [PATCH] Populate collection edition form with initial enabled view modes value. --- src/views/admin/components/edition/collection-edition-form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/admin/components/edition/collection-edition-form.vue b/src/views/admin/components/edition/collection-edition-form.vue index c106066ee..ef2bfc5d0 100644 --- a/src/views/admin/components/edition/collection-edition-form.vue +++ b/src/views/admin/components/edition/collection-edition-form.vue @@ -1308,7 +1308,7 @@ export default { this.form.default_view_mode = this.collection.default_view_mode; this.form.default_order = this.collection.default_order; 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.allows_submission = this.collection.allows_submission; this.form.submission_anonymous_user = this.collection.submission_anonymous_user;