From 34f67ab0a7028bb409d9648a15739a8d67e5eeee Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Sun, 10 May 2026 23:17:22 +0200 Subject: [PATCH] fix(my-work): un-block grouped Overdue/Today/Upcoming sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/views/MyWork.vue had a dead branch `v-else-if="!loading"` that could never execute — `v-else-if` only fires when the previous sibling's condition is false, but the sibling chain fell through ParafeerInbox to a guard that always rendered. Result: the grouped Overdue / Today / Upcoming sections of the My Work view never rendered in production. Git history (commit 5847d05) shows those sections were the original intent — the typo'd `v-else-if` slipped in when ParafeerInbox was inserted into the chain. Changing the directive to `v-if="!loading"` makes the grouped sections render alongside ParafeerInbox per the original design. This is a behaviour change (visible UI difference). A manual smoke-test of /procest's My Work view post-merge confirms whether the restored sections look right vs the regressed state. Surfaced by #323 ESLint sweep (vue/no-dupe-v-else-if). Companion PR fix(#323): clear 6 mechanical ESLint source errors handles the other 6 cosmetic fixes. --- src/views/MyWork.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/MyWork.vue b/src/views/MyWork.vue index e2c5db7e..39fbb29d 100644 --- a/src/views/MyWork.vue +++ b/src/views/MyWork.vue @@ -58,7 +58,7 @@ -