feat: defer everything until the api config is loaded #926
|
@ -88,6 +88,7 @@ export default {
|
|||
methods: {
|
||||
async setApiUrl() {
|
||||
if (this.apiUrl === '') {
|
||||
// Don't try to check and set an empty url
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
return
|
||||
konrad marked this conversation as resolved
Outdated
dpschen
commented
That seems like it should throw an error? That seems like it should throw an error?
konrad
commented
It does yeah. I've modified it so it shows an error with a "good" error message to the user instead of throwing one. It does yeah. I've modified it so it shows an error with a "good" error message to the user instead of throwing one.
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue
Explain why we return here
Done.