mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-04 12:36:48 +00:00
fix(nc-gui): reset page when user opens audit from base context menu
This commit is contained in:
@@ -29,7 +29,7 @@ const { isMobileMode } = useGlobal()
|
||||
|
||||
const { api } = useApi()
|
||||
|
||||
const { auditLogsQuery } = storeToRefs(useWorkspace())
|
||||
const { auditLogsQuery, auditCurrentPage } = storeToRefs(useWorkspace())
|
||||
|
||||
const { createProject: _createProject, updateProject, getProjectMetaInfo, loadProject } = basesStore
|
||||
|
||||
@@ -454,6 +454,8 @@ const getSource = (sourceId: string) => {
|
||||
async function openAudit(source: SourceType) {
|
||||
$e('c:project:audit')
|
||||
|
||||
auditCurrentPage.value = 1
|
||||
|
||||
auditLogsQuery.value = {
|
||||
...auditLogsQuery.value,
|
||||
user: undefined,
|
||||
|
||||
Reference in New Issue
Block a user