From 98ddba2c05c4f433642ff06571191ac8e18a5db7 Mon Sep 17 00:00:00 2001 From: Gykes <24581046+Gykes@users.noreply.github.com> Date: Thu, 27 Nov 2025 22:55:21 -0800 Subject: [PATCH] lint lint --- .../Tags/TagDetails/TagEditPanel.tsx | 118 +++++++++--------- 1 file changed, 60 insertions(+), 58 deletions(-) diff --git a/ui/v2.5/src/components/Tags/TagDetails/TagEditPanel.tsx b/ui/v2.5/src/components/Tags/TagDetails/TagEditPanel.tsx index ca8aaa4b8..35733394a 100644 --- a/ui/v2.5/src/components/Tags/TagDetails/TagEditPanel.tsx +++ b/ui/v2.5/src/components/Tags/TagDetails/TagEditPanel.tsx @@ -219,66 +219,68 @@ export const TagEditPanel: React.FC = ({
{isNew && ( -

- -

- )} - - { - // Check if it's a redirect after tag creation - if (action === "PUSH" && location.pathname.startsWith("/tags/")) { - return true; - } - - return handleUnsavedChanges(intl, "tags", tag.id)(location); - }} - /> - -
- {renderInputField("name")} - {renderInputField("sort_name", "text")} - {renderStringListField("aliases")} - {renderInputField("description", "textarea")} - {renderParentTagsField()} - {renderSubTagsField()} - {renderStashIDsField( - "stash_ids", - "tags", - "stash_ids", - undefined, - +

+ +

)} -
- {renderInputField("ignore_auto_tag", "checkbox")} -
- onImageLoad(null)} - onDelete={onDelete} - acceptSVG - /> + { + // Check if it's a redirect after tag creation + if (action === "PUSH" && location.pathname.startsWith("/tags/")) { + return true; + } + + return handleUnsavedChanges(intl, "tags", tag.id)(location); + }} + /> + +
+ {renderInputField("name")} + {renderInputField("sort_name", "text")} + {renderStringListField("aliases")} + {renderInputField("description", "textarea")} + {renderParentTagsField()} + {renderSubTagsField()} + {renderStashIDsField( + "stash_ids", + "tags", + "stash_ids", + undefined, + + )} +
+ {renderInputField("ignore_auto_tag", "checkbox")} +
+ + onImageLoad(null)} + onDelete={onDelete} + acceptSVG + />
);