mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-24 23:35:31 +00:00
fix: locked view behaviour
This commit is contained in:
@@ -26,7 +26,6 @@ const {
|
||||
filtersFromUrlParams,
|
||||
whereQueryFromUrl,
|
||||
filtersFromUrlParamsReadableErrors,
|
||||
isLocked: isLockedStore,
|
||||
} = useSmartsheetStoreOrThrow()
|
||||
|
||||
const { appearanceConfig: filteredOrSortedAppearanceConfig, userColumnIds } = useColumnFilteredOrSorted()
|
||||
@@ -43,7 +42,7 @@ const { nonDeletedFilters, loadFilters } = useViewFilters(
|
||||
|
||||
const filtersLength = ref(0)
|
||||
// If view is locked OR user lacks permission to sync filters (Editor), show restricted UI
|
||||
const isRestrictedEditor = computed(() => isLockedStore.value || !isUIAllowed('filterSync'))
|
||||
const isRestrictedEditor = computed(() => !isUIAllowed('filterSync'))
|
||||
|
||||
watch(
|
||||
() => activeView?.value?.id,
|
||||
|
||||
Reference in New Issue
Block a user