1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-18 00:09:37 +02:00

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

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