Default site selection is now the first returned option
This commit is contained in:
parent
6412610047
commit
a3dab505ef
@ -157,6 +157,7 @@ export default {
|
|||||||
.get("/site")
|
.get("/site")
|
||||||
.then(response => {
|
.then(response => {
|
||||||
this.siteOptions = response.data;
|
this.siteOptions = response.data;
|
||||||
|
this.siteSelection = response.data[0].value;
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
if (error.response.status === 404) {
|
if (error.response.status === 404) {
|
||||||
|
Loading…
Reference in New Issue
Block a user