fix(nc-gui): record audit api permission issue

This commit is contained in:
Ramesh Mane
2025-06-03 03:43:42 +00:00
parent d4784368e1
commit 4987c2159e
3 changed files with 5 additions and 5 deletions

View File

@@ -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[])