-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update status from Splash screen to keep StatusIndicator up to date #1637
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,7 +149,9 @@ export default class SplashMixin extends Vue { | |
this.loadingText = 'Processing the mod list'; | ||
|
||
try { | ||
await this.$store.commit('tsMods/startThunderstoreModListUpdate'); | ||
await this.$store.dispatch('tsMods/updateMods'); | ||
await this.$store.commit('tsMods/finishThunderstoreModListUpdate'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this should be placed in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good point, this doesn't even have to be done on r2mm side... |
||
} catch (e) { | ||
console.error('Updating the store mod list by SplashMixin failed.', e); | ||
} finally { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to await commits as they're synchronous.