mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 06:47:36 +00:00
fix(fields): hide delete button for system fields in dialog
This commit is contained in:
@@ -555,7 +555,7 @@ export function ManageFieldsDialog({ projectId, open, onOpenChange }: ManageFiel
|
||||
</div>
|
||||
)}
|
||||
|
||||
{!isReadOnly && (
|
||||
{!isReadOnly && selectedField.scope?.toLowerCase() !== 'system' && (
|
||||
<div className="pt-4 flex justify-between">
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
Reference in New Issue
Block a user