chore: add explanation about naked return
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
9ff8e11171
commit
385f2a9a5e
|
@ -88,6 +88,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
async setApiUrl() {
|
async setApiUrl() {
|
||||||
if (this.apiUrl === '') {
|
if (this.apiUrl === '') {
|
||||||
|
// Don't try to check and set an empty url
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue