From ca7ba125d2f014bd767c417cbb9c026c670c5935 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 7 Mar 2021 12:24:06 -0800 Subject: [PATCH] Fixed: Remove selected in queue (cherry picked from commit 4ed5fefcc6e362cb5c62ec639ee64571c97f9b5b) --- frontend/src/Activity/Queue/Queue.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/Activity/Queue/Queue.js b/frontend/src/Activity/Queue/Queue.js index a46c3784e..ba03f002c 100644 --- a/frontend/src/Activity/Queue/Queue.js +++ b/frontend/src/Activity/Queue/Queue.js @@ -114,8 +114,9 @@ class Queue extends Component { } onRemoveSelectedPress = () => { - this._shouldBlockRefresh = true; - this.setState({ isConfirmRemoveModalOpen: true }); + this.setState({ isConfirmRemoveModalOpen: true }, () => { + this._shouldBlockRefresh = true; + }); } onRemoveSelectedConfirmed = (payload) => {