diff options
Diffstat (limited to 'ui/src/components/runbooks/List.tsx')
| -rw-r--r-- | ui/src/components/runbooks/List.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/components/runbooks/List.tsx b/ui/src/components/runbooks/List.tsx index d4591e6f..42da3885 100644 --- a/ui/src/components/runbooks/List.tsx +++ b/ui/src/components/runbooks/List.tsx @@ -109,8 +109,7 @@ const NoteSidebar = () => { onPress={async () => { await Runbook.delete(runbook.id); - if (runbook.id == currentRunbook) - setCurrentRunbook(null); + if (runbook.id == currentRunbook) setCurrentRunbook(""); refreshRunbooks(); }} |
