feat: defer everything until the api config is loaded #926
|
@ -96,6 +96,7 @@ export default {
|
||||||
const url = await checkAndSetApiUrl(this.apiUrl, () => this.$store.dispatch('config/update'))
|
const url = await checkAndSetApiUrl(this.apiUrl, () => this.$store.dispatch('config/update'))
|
||||||
|
|
||||||
if (url === '') {
|
if (url === '') {
|
||||||
konrad marked this conversation as resolved
|
|||||||
|
// If the config setter function could not figure out a url
|
||||||
return
|
return
|
||||||
konrad marked this conversation as resolved
Outdated
dpschen
commented
That seems like it should throw an error? (2) That seems like it should throw an error? (2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user
Explain why we return here