diff --git a/frontend/src/lib/components/modals/updates/UpdatesModal.svelte b/frontend/src/lib/components/modals/updates/UpdatesModal.svelte index b2df742..a214461 100644 --- a/frontend/src/lib/components/modals/updates/UpdatesModal.svelte +++ b/frontend/src/lib/components/modals/updates/UpdatesModal.svelte @@ -120,55 +120,69 @@ - - $showIgnored = !$showIgnored}> - {$showIgnored ? $t('updates.hide-ignored', 'Hide ignored') : $t('updates.show-ignored', 'Show ignored')} - - - + {#each updatesToDisplay as update} - toggleSelected(update)}> - + toggleSelected(update)}> + {#if $selectedUpdates.includes(update)} {/if} - + {modNames[update.item] ?? update.item} {update.currentVersion} -> {update.newVersion} - - modalStore.trigger({ type:'component', component:{ ref: ModChangelog, props:{ mod:update.item, versionRange:{ from:update.currentVersion, to:update.newVersion } } } }, true)}> - - - toggleIgnoreUpdate(update)}> - {$unignoredUpdates.includes(update) ? $t('updates.ignore', 'Ignore') : $t('updates.unignore', 'Unignore')} + modalStore.trigger({ type:'component', component:{ ref: ModChangelog, props:{ mod:update.item, versionRange:{ from:update.currentVersion, to:update.newVersion } } } }, true)}> + + + toggleIgnoreUpdate(update)}> + {$unignoredUpdates.includes(update) ? $t('updates.ignore', 'Ignore') : $t('updates.unignore', 'Unignore')} + {/each} - + + + \ No newline at end of file