mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Initialize tag editing state in the edit tag dialog
This commit is contained in:
@@ -140,6 +140,11 @@ function EditTagButton({
|
||||
<>
|
||||
<Button
|
||||
onClick={() => {
|
||||
setDescription(tag.description);
|
||||
setType(tag.type);
|
||||
setAliasOf(null);
|
||||
setIsAlias(false);
|
||||
setError(null);
|
||||
const dialog = document.getElementById(
|
||||
"edit_tag_dialog",
|
||||
) as HTMLDialogElement;
|
||||
|
Reference in New Issue
Block a user