fix(publications): refresh filter labels when a topic/author id is appended
This commit is contained in:
@@ -788,7 +788,9 @@ export const routes: Routes = [
|
||||
},
|
||||
runGuardsAndResolvers: (from, to) => {
|
||||
return Object.values(workQueryParamKeys).some(
|
||||
(key) => from.queryParamMap.get(key) !== to.queryParamMap.get(key),
|
||||
(key) =>
|
||||
from.queryParamMap.getAll(key).join(',') !==
|
||||
to.queryParamMap.getAll(key).join(','),
|
||||
);
|
||||
},
|
||||
},
|
||||
@@ -852,7 +854,9 @@ export const routes: Routes = [
|
||||
),
|
||||
runGuardsAndResolvers: (from, to) => {
|
||||
return Object.values(workQueryParamKeys).some(
|
||||
(key) => from.queryParamMap.get(key) !== to.queryParamMap.get(key),
|
||||
(key) =>
|
||||
from.queryParamMap.getAll(key).join(',') !==
|
||||
to.queryParamMap.getAll(key).join(','),
|
||||
);
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user