From a956d74679f111163e6e426aec36bba9f065558a Mon Sep 17 00:00:00 2001 From: "Abdallah A. Zaqout" <26047413+zaqoutabed@users.noreply.github.com> Date: Sat, 3 Jun 2023 17:14:19 +0300 Subject: [PATCH] hide `Make Entry` if can not create --- src/pages/ListView/List.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/ListView/List.vue b/src/pages/ListView/List.vue index bd3bbc0e..bf72121c 100644 --- a/src/pages/ListView/List.vue +++ b/src/pages/ListView/List.vue @@ -82,7 +82,7 @@ >

{{ t`No entries found` }}

- @@ -101,7 +101,7 @@ import ListCell from './ListCell'; export default defineComponent({ name: 'List', - props: { listConfig: Object, filters: Object, schemaName: String }, + props: { listConfig: Object, filters: Object, schemaName: String, canCreate: Boolean }, emits: ['openDoc', 'makeNewDoc', 'updatedData'], components: { Row,