Explorar o código

fix(AdvancedTable): history.replaceState would throw console warning

Kristian Vos %!s(int64=2) %!d(string=hai) anos
pai
achega
c512214761
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      frontend/src/components/AdvancedTable.vue

+ 5 - 1
frontend/src/components/AdvancedTable.vue

@@ -1904,7 +1904,11 @@ export default {
 				.map(key => `${key}=${queryObject[key]}`)
 				.join("&")}`;
 
-			window.history.replaceState(null, null, queryString);
+			window.history.replaceState(
+				window.history.state,
+				null,
+				queryString
+			);
 		},
 		setLocalStorage() {
 			localStorage.setItem(