From 0fcad533eb557d8f31735d017e08bf7eb22c1698 Mon Sep 17 00:00:00 2001 From: nitsua Date: Wed, 10 Feb 2021 15:43:08 -0500 Subject: [PATCH] Fixed maintenance release not showing as such in AppUpdatedModal Originally by Taloth 4559eed0ecf4b87b8aa16a86d2161ac72fbf54e5 --- 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 90c558270..0c4c5f91d 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; }