From 4f6e15cfb40ae14ae8467b41483c1637361cc91a Mon Sep 17 00:00:00 2001 From: Kelani Tolulope Date: Fri, 6 Oct 2023 10:56:44 +0100 Subject: [PATCH] apply review changes --- client/web/compose/src/components/Public/Record/Modal.vue | 6 +++--- client/web/compose/src/views/Public/Pages/Records/View.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/web/compose/src/components/Public/Record/Modal.vue b/client/web/compose/src/components/Public/Record/Modal.vue index 0f92d687ab..5fe752b98c 100644 --- a/client/web/compose/src/components/Public/Record/Modal.vue +++ b/client/web/compose/src/components/Public/Record/Modal.vue @@ -24,7 +24,7 @@ :record-i-d="recordID" :values="values" :ref-record="refRecord" - :edit="modalInEditModal" + :edit="edit" show-record-modal @handle-record-redirect="loadRecord" /> @@ -74,7 +74,7 @@ export default { page: undefined, values: undefined, refRecord: undefined, - modalInEditModal: false, + edit: false, } }, @@ -132,7 +132,7 @@ export default { this.recordID = recordID this.values = values this.refRecord = refRecord - this.modalInEditModal = edit + this.edit = edit this.loadModal({ recordID, recordPageID }) diff --git a/client/web/compose/src/views/Public/Pages/Records/View.vue b/client/web/compose/src/views/Public/Pages/Records/View.vue index 225ab061ef..f84105575e 100644 --- a/client/web/compose/src/views/Public/Pages/Records/View.vue +++ b/client/web/compose/src/views/Public/Pages/Records/View.vue @@ -180,7 +180,7 @@ export default { edit: { type: Boolean, - required: false, + default: false, }, },