Replace history when merging tag (#5712)

This commit is contained in:
Rémi Marseault 2025-03-13 00:05:40 +01:00 committed by GitHub
parent c2bc31387c
commit a621514c71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@ export const TagMergeModal: React.FC<ITagMergeModalProps> = ({
if (result.data?.tagsMerge) {
Toast.success(intl.formatMessage({ id: "toast.merged_tags" }));
onClose();
history.push(`/tags/${destination}`);
history.replace(`/tags/${destination}`);
}
} catch (e) {
Toast.error(e);