Parcourir la source

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

Jeremy Stretch il y a 1 an
Parent
commit
4868818576

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
netbox/project-static/dist/netbox.js


Fichier diff supprimé car celui-ci est trop grand
+ 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;
     }
   });
 }

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff