Fix removing domains
parent
585bdaf554
commit
591b8c7aa8
|
@ -315,7 +315,7 @@ THE SOFTWARE.
|
||||||
},
|
},
|
||||||
remove(index) {
|
remove(index) {
|
||||||
const name = this.$data.domains[index].server.domain.computed;
|
const name = this.$data.domains[index].server.domain.computed;
|
||||||
this.$set(this.$data.domains, index, null);
|
this.$data.domains[index] = null;
|
||||||
if (this.$data.active === index) this.$data.active = this.$data.domains.findIndex(d => d !== null);
|
if (this.$data.active === index) this.$data.active = this.$data.domains.findIndex(d => d !== null);
|
||||||
|
|
||||||
// Analytics
|
// Analytics
|
||||||
|
|
Loading…
Reference in New Issue