Quellcode durchsuchen

Fixes #19375: Fix table configuration after applying a saved table config (#19385)

Jeremy Stretch vor 11 Monaten
Ursprung
Commit
4868818576

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
netbox/project-static/dist/netbox.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
netbox/project-static/dist/netbox.js.map


+ 2 - 1
netbox/project-static/src/tableConfig.ts

@@ -106,7 +106,8 @@ function handleSubmit(event: Event): void {
       const toast = createToast('danger', 'Error Updating Table Configuration', res.error);
       toast.show();
     } else {
-      location.reload();
+      // Strip any URL query parameters & reload the page
+      window.location.href = window.location.origin + window.location.pathname;
     }
   });
 }

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.