1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Fixed maintenance release not showing as such in AppUpdatedModal

This commit is contained in:
Taloth Saldono 2020-06-09 11:13:57 +02:00
parent 6a393ef6a2
commit 4559eed0ec

View File

@ -40,6 +40,10 @@ function mergeUpdates(items, version, prevVersion) {
const mergedUpdate = Object.assign({}, appliedUpdates[0], { changes: appliedChanges }); const mergedUpdate = Object.assign({}, appliedUpdates[0], { changes: appliedChanges });
if (!appliedChanges.new.length && !appliedChanges.fixed.length) {
mergedUpdate.changes = null;
}
return mergedUpdate; return mergedUpdate;
} }