Showing
1 changed file
with
2 additions
and
2 deletions
| ... | ... | @@ -232,8 +232,8 @@ |
| 232 | 232 | |
| 233 | 233 | const handleDeleteOrBatchDelete = async (record?: ModelOfMatterItemRecordType) => { |
| 234 | 234 | const deleteFn = |
| 235 | - (props.record.ifShowClass && (unref(isPlatformAdmin) || unref(isSysadmin))) || | |
| 236 | - unref(isTenantAdmin) | |
| 235 | + props.record.ifShowClass && | |
| 236 | + (unref(isPlatformAdmin) || unref(isSysadmin) || unref(isTenantAdmin)) | |
| 237 | 237 | ? deleteModelCategory |
| 238 | 238 | : deleteModel; |
| 239 | 239 | ... | ... |