From dfe90e35516c111b4999198ae543efd872fb0303 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Sun, 14 Jul 2024 07:17:04 +0530 Subject: [PATCH] fix(nc-gui): csv upload is issue if schema edit is disabled (#8996) --- packages/nc-gui/composables/useRoles/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/composables/useRoles/index.ts b/packages/nc-gui/composables/useRoles/index.ts index 79cd906b00..ad34aa7a15 100644 --- a/packages/nc-gui/composables/useRoles/index.ts +++ b/packages/nc-gui/composables/useRoles/index.ts @@ -190,7 +190,7 @@ export const useRoles = () => { }) const isDataReadOnly = computed(() => { - return currentSource.value?.is_schema_readonly || false + return currentSource.value?.is_data_readonly || false }) return {