From 4559eed0ecf4b87b8aa16a86d2161ac72fbf54e5 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Tue, 9 Jun 2020 11:13:57 +0200 Subject: [PATCH] Fixed maintenance release not showing as such in AppUpdatedModal --- 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 045d74007..fd957b383 100644 --- a/frontend/src/App/AppUpdatedModalContent.js +++ b/frontend/src/App/AppUpdatedModalContent.js @@ -40,6 +40,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; }