fix(fields): hide delete button for system fields in dialog

This commit is contained in:
yiling
2026-06-12 11:49:08 +08:00
parent dc26877dd2
commit 6c3e62789f
@@ -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"