{#if target} { statuses = next; // A status that was removed or renamed away falls back to the first to-do. if (!taskStatuses(statuses, (key) => $i18n.t(key)).some((item) => item.id === status)) status = defaultStatus(); }} /> {/if}