Fix removing domains

pull/331/head
MattIPv4 2022-03-01 23:29:03 +00:00
parent 585bdaf554
commit 591b8c7aa8
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ THE SOFTWARE.
},
remove(index) {
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);
// Analytics