Skip to content

Commit 4868818

Browse files
Fixes #19375: Fix table configuration after applying a saved table config (#19385)
1 parent 7cd5dc0 commit 4868818

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

netbox/project-static/dist/netbox.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/project-static/dist/netbox.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/project-static/src/tableConfig.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ function handleSubmit(event: Event): void {
106106
const toast = createToast('danger', 'Error Updating Table Configuration', res.error);
107107
toast.show();
108108
} else {
109-
location.reload();
109+
// Strip any URL query parameters & reload the page
110+
window.location.href = window.location.origin + window.location.pathname;
110111
}
111112
});
112113
}

0 commit comments

Comments
 (0)