Update src/plugins/built-in/globalSearch/src/indexing/actions.ts

Co-authored-by: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com>
This commit is contained in:
StroepWafel
2026-01-22 19:35:26 +10:30
committed by GitHub
parent 86d9cfe50c
commit 1f49fa4bae
@@ -179,7 +179,6 @@ export const actionMap: Record<string, ActionHandler<any>> = {
});
// If we at least have an assessmentId, try to navigate to the general assessments page
if (hasAssessmentId) {
console.info("[Assessment Action] Attempting to navigate to assessments page with item filter");
window.location.hash = `#?page=/assessments/upcoming&item=${assessmentId}`;
} else {
console.warn("[Assessment Action] No valid assessment ID, redirecting to upcoming");