1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

Swap history.push for history.replace to alleviate console warning dealing with pushing to the same path.

This commit is contained in:
mabashian 2020-01-30 12:37:17 -05:00
parent 877e630a90
commit 7576ba2ade

View File

@ -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 = () => {