Fixed maintenance release not showing as such in AppUpdatedModal

Originally by Taloth 4559eed0ecf4b87b8aa16a86d2161ac72fbf54e5
This commit is contained in:
nitsua 2021-02-10 15:43:08 -05:00 committed by Qstick
parent c7b5a42bea
commit 0fcad533eb
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}