mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Replace history when merging tag (#5712)
This commit is contained in:
parent
c2bc31387c
commit
a621514c71
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ export const TagMergeModal: React.FC<ITagMergeModalProps> = ({
|
||||||
if (result.data?.tagsMerge) {
|
if (result.data?.tagsMerge) {
|
||||||
Toast.success(intl.formatMessage({ id: "toast.merged_tags" }));
|
Toast.success(intl.formatMessage({ id: "toast.merged_tags" }));
|
||||||
onClose();
|
onClose();
|
||||||
history.push(`/tags/${destination}`);
|
history.replace(`/tags/${destination}`);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Toast.error(e);
|
Toast.error(e);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue