mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 00:08:44 -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
|
param
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
history.push(`${history.location.pathname}?${otherParts.join('&')}`);
|
history.replace(`${history.location.pathname}?${otherParts.join('&')}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSaveNode = () => {
|
const handleSaveNode = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user