mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 18:56:46 +00:00
fix(nc-gui): record audit api permission issue
This commit is contained in:
@@ -173,7 +173,7 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState(
|
||||
const mightHaveMoreAudits = ref(false)
|
||||
|
||||
const loadAudits = async (_rowId?: string, showLoading = true) => {
|
||||
if (!isUIAllowed('auditListRow') || (!row.value && !_rowId)) return
|
||||
if (!isUIAllowed('recordAuditList') || (!row.value && !_rowId)) return
|
||||
|
||||
const rowId = _rowId ?? extractPkFromRow(row.value.row, meta.value.columns as ColumnType[])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user