Skip to content

Commit

Permalink
set messages empty after deleting queue
Browse files Browse the repository at this point in the history
  • Loading branch information
PacoVK committed May 25, 2022
1 parent a154d6a commit 85925e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/views/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const Overview = () => {
action: "DeleteQueue",
queue: queues[tabIndex],
onSuccess: () => {
setMessages([]);
setTimeout(() => {
triggerReload(!reload);
}, 1000);
Expand Down

0 comments on commit 85925e4

Please sign in to comment.