diff --git a/frontend/dashboard.js b/frontend/dashboard.js index 3b75a22..2189cfb 100644 --- a/frontend/dashboard.js +++ b/frontend/dashboard.js @@ -3060,7 +3060,7 @@ } function openPlanToday(trigger, navigate = true, actualMinutes = null) { - if (!planningOwnerLogin) { + if (!planningOwnerLogin && !weekWorkflow.active()) { qs('#my-work-action-status').textContent = 'Planning is unavailable until your operator identity is restored.'; return; } diff --git a/frontend/week-plan.js b/frontend/week-plan.js index 9c0efaa..741dbea 100644 --- a/frontend/week-plan.js +++ b/frontend/week-plan.js @@ -82,7 +82,6 @@ function createWeekPlanWorkflow({controller,qs,getLogin,openPlanner,escapeHtml,e })); } async function open(trigger) { - if(!getLogin()){qs('#my-work-action-status').textContent='Planning is unavailable until your operator identity is restored.';return false;} trigger.disabled=true;selectedDate=controller.dates()[0].date;renderDates();openPlanner(trigger); qs('#mobile-week-summary').textContent='Loading Week Ahead…'; try{await controller.load();qs('#mobile-week-summary').textContent=controller.summary();openPlanner(null,false);return true;}