mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 15:06:52 +00:00
fix: redirect to base home on invalid view Id or dashboardId
This commit is contained in:
@@ -311,13 +311,6 @@ export function useViewData(
|
||||
}
|
||||
}
|
||||
|
||||
async function loadGalleryData() {
|
||||
if (!viewMeta?.value?.id) return
|
||||
galleryData.value = isPublic.value
|
||||
? (sharedView.value?.view as GalleryType)
|
||||
: await $api.dbView.galleryRead(viewMeta.value.id)
|
||||
}
|
||||
|
||||
async function changePage(page: number) {
|
||||
paginationData.value.page = page
|
||||
await loadData(
|
||||
@@ -483,7 +476,6 @@ export function useViewData(
|
||||
syncCount,
|
||||
syncPagination,
|
||||
galleryData,
|
||||
loadGalleryData,
|
||||
loadFormView,
|
||||
formColumnData,
|
||||
formViewData,
|
||||
|
||||
Reference in New Issue
Block a user