Skip to content

Commit 8e276cb

Browse files
committed
[feature]: add permission
1 parent dedbb0f commit 8e276cb

File tree

1 file changed

+5
-1
lines changed
  • packages/sqle/src/page/SqlManagementException/List

1 file changed

+5
-1
lines changed

packages/sqle/src/page/SqlManagementException/List/index.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ const SqlManagementExceptionList = () => {
200200
loading={loading}
201201
errorMessage={requestErrorMessage}
202202
onChange={tableChange}
203-
actions={SqlManagementExceptionActions(onUpdate, onDelete)}
203+
actions={
204+
actionPermission && !projectArchive
205+
? SqlManagementExceptionActions(onUpdate, onDelete)
206+
: undefined
207+
}
204208
/>
205209
<SqlManagementExceptionModal />
206210
</>

0 commit comments

Comments
 (0)