From bed22b59bb8006d2a6b6d6f82f8ed881fcaa5c34 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 30 Dec 2021 17:15:16 -0600 Subject: [PATCH] Fixed maintenance release not showing as such in AppUpdatedModal Fixes #1462 --- frontend/src/App/AppUpdatedModalContent.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/App/AppUpdatedModalContent.js b/frontend/src/App/AppUpdatedModalContent.js index 81e6245cc..692ffe9b8 100644 --- a/frontend/src/App/AppUpdatedModalContent.js +++ b/frontend/src/App/AppUpdatedModalContent.js @@ -41,6 +41,10 @@ function mergeUpdates(items, version, prevVersion) { const mergedUpdate = Object.assign({}, appliedUpdates[0], { changes: appliedChanges }); + if (!appliedChanges.new.length && !appliedChanges.fixed.length) { + mergedUpdate.changes = null; + } + return mergedUpdate; }