File tree Expand file tree Collapse file tree
client/src/components/History/CurrentHistory/HistoryOperations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -304,9 +304,13 @@ export default {
304304 const selection = Array .from (this .contentSelection .values ());
305305 setSelectedItems (selection);
306306
307- // vue-router 4 supports a native force push with clean URLs, but we're using a __vkey__
308- // bit as a workaround to allow the builder to be invoked consecutively
309- this .$router .push ({ path: ` /collection/new_list?advanced=${ advanced} ` }, { force: true });
307+ if (this .$route .path === " /collection/new_list" ) {
308+ // vue-router 4 supports a native force push with clean URLs, but we're using a __vkey__
309+ // bit as a workaround to allow the builder to be invoked consecutively
310+ this .$router .push ({ path: ` /collection/new_list?advanced=${ advanced} ` }, { force: true });
311+ } else {
312+ this .$router .push (` /collection/new_list?advanced=${ advanced} ` );
313+ }
310314 },
311315 // Selected content manipulation, hide/show/delete/purge
312316 hideSelected () {
You can’t perform that action at this time.
0 commit comments