[#4462] fixed Admin UI record and collection panels not reinitializing properly on browser back/forward navigation

This commit is contained in:
Gani Georgiev
2024-03-01 16:59:05 +02:00
parent 9babca5f77
commit bb410e7e0d
36 changed files with 124 additions and 92 deletions
+5 -1
View File
@@ -83,6 +83,10 @@
updateQueryParams({ recordId: null });
normalizeSort();
// close any open collection panels
collectionUpsertPanel?.forceHide();
collectionDocsPanel?.hide();
}
// ensures that the sort fields exist in the collection
@@ -117,7 +121,7 @@
filter: filter,
sort: sort,
},
extra
extra,
);
CommonHelper.replaceHashQueryParams(queryParams);