From 376e475adf8f11dca2cddd3cf8be14267ee25451 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Thu, 7 Nov 2024 12:40:11 +0100 Subject: [PATCH] Reset `Issue` component state on `reload` There was a need to double click on the reply icon in the `Issue` view to get `topLevelReplyOpen` to the correct state. --- src/views/repo/Issue.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/repo/Issue.svelte b/src/views/repo/Issue.svelte index fce2cfa14..a91de98f9 100644 --- a/src/views/repo/Issue.svelte +++ b/src/views/repo/Issue.svelte @@ -106,6 +106,9 @@ id: issue.id, }), ]); + + topLevelReplyOpen = false; + editingTitle = false; } async function createComment(body: string, embeds: Embed[]) {