From c0814d88b3e9fec155dcdaa0bd9276cc26c887c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Tue, 15 Jul 2025 15:24:16 +0200 Subject: [PATCH] Don't change issue list filter when changing issue state This makes the issue list behave the same way as patch list. We don't change the filter, just reload the issue list so that the new issue state is properly reflected in the list. --- src/views/repo/Issue.svelte | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/views/repo/Issue.svelte b/src/views/repo/Issue.svelte index fdb37144d..91263b31f 100644 --- a/src/views/repo/Issue.svelte +++ b/src/views/repo/Issue.svelte @@ -141,7 +141,7 @@ } async function reload() { - [issue, activity, threads] = await Promise.all([ + [issue, activity, threads, issues] = await Promise.all([ invoke("issue_by_id", { rid: repo.rid, id: issue.id, @@ -154,6 +154,10 @@ rid: repo.rid, id: issue.id, }), + invoke("list_issues", { + rid: repo.rid, + status, + }), ]); } @@ -403,14 +407,7 @@