From 339d7d16c7a3ceed9a2c857886d8edd2920eb0b7 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 15 Mar 2020 11:45:33 +0000 Subject: [PATCH] Desktop: Fix issue with tag not being displayed below note when it is created --- .../lib/components/shared/reduxSharedMiddleware.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ReactNativeClient/lib/components/shared/reduxSharedMiddleware.js b/ReactNativeClient/lib/components/shared/reduxSharedMiddleware.js index eb4ca5944..77670086b 100644 --- a/ReactNativeClient/lib/components/shared/reduxSharedMiddleware.js +++ b/ReactNativeClient/lib/components/shared/reduxSharedMiddleware.js @@ -40,7 +40,9 @@ const reduxSharedMiddleware = async function(store, next, action) { if (action.type === 'NOTE_DELETE' || action.type === 'NOTE_SELECT' || - action.type === 'NOTE_SELECT_TOGGLE') { + action.type === 'NOTE_SELECT_TOGGLE' || + action.type === 'TAG_UPDATE_ONE' || + action.type === 'TAG_UPDATE_ALL') { let noteTags = []; // We don't need to show tags unless only one note is selected.