|
|
@ -61,17 +61,13 @@ const [useProvideMapViewStore, useMapViewStore] = useInjectionState( |
|
|
|
})) |
|
|
|
})) |
|
|
|
|
|
|
|
|
|
|
|
async function syncCount() { |
|
|
|
async function syncCount() { |
|
|
|
// const shouldUpdateRowsCounter = !isPublic.value
|
|
|
|
|
|
|
|
// if (shouldUpdateRowsCounter) {
|
|
|
|
|
|
|
|
const { count } = await $api.dbViewRow.count( |
|
|
|
const { count } = await $api.dbViewRow.count( |
|
|
|
NOCO, |
|
|
|
NOCO, |
|
|
|
project?.value?.title as string, |
|
|
|
project?.value?.title as string, |
|
|
|
meta?.value?.id as string, |
|
|
|
meta?.value?.id as string, |
|
|
|
viewMeta?.value?.id as string, |
|
|
|
viewMeta?.value?.id as string, |
|
|
|
) |
|
|
|
) |
|
|
|
console.log('in Sync') |
|
|
|
|
|
|
|
paginationData.value.totalRows = count |
|
|
|
paginationData.value.totalRows = count |
|
|
|
// }
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async function loadMapMeta() { |
|
|
|
async function loadMapMeta() { |
|
|
|