mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 10:10:01 -03:30
Swap history.push for history.replace to alleviate console warning dealing with pushing to the same path.
This commit is contained in:
@@ -88,7 +88,7 @@ function NodeModal({ askLinkType, i18n, onSave, title }) {
|
||||
param
|
||||
)
|
||||
);
|
||||
history.push(`${history.location.pathname}?${otherParts.join('&')}`);
|
||||
history.replace(`${history.location.pathname}?${otherParts.join('&')}`);
|
||||
};
|
||||
|
||||
const handleSaveNode = () => {
|
||||
|
||||
Reference in New Issue
Block a user