feat: defer everything until the api config is loaded #926

Merged
konrad merged 27 commits from feature/ready-state into main 2021-11-13 19:49:03 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit f2c8cdd3be - Show all commits

View File

@ -96,6 +96,7 @@ export default {
const url = await checkAndSetApiUrl(this.apiUrl, () => this.$store.dispatch('config/update'))
if (url === '') {
konrad marked this conversation as resolved
Review

Explain why we return here

Explain why we return here
// If the config setter function could not figure out a url
return
konrad marked this conversation as resolved Outdated

That seems like it should throw an error? (2)

That seems like it should throw an error? (2)
}