Skip to content

Commit 3863c5b

Browse files
committed
Fix watching online mod list for changes
Online mod list was watching a wrong variable, and wouldn't fire an autoupdate if the main mod list changed, i.e. if there was a background update from Thunderstore API while user had the online mod list open. This was broken some 6 months ago by yours truly while moving the mod list into Vuex store.
1 parent eed26c2 commit 3863c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/OnlineModView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export default class OnlineModView extends Vue {
181181
182182
@Watch("sortingDirectionModel")
183183
@Watch("sortingStyleModel")
184-
@Watch("tsMods.mods")
184+
@Watch("thunderstoreModList")
185185
sortThunderstoreModList() {
186186
const sortDescending = this.sortingDirectionModel == SortingDirection.STANDARD;
187187
const sortedList = [...this.thunderstoreModList];

0 commit comments

Comments
 (0)