Fix: saveguard for choosing defailt aggregator

This commit is contained in:
chfhtw
2026-09-11 11:23:15 +02:00
parent 054cddfdce
commit bade3753f9
@@ -29,8 +29,9 @@ export default {
return this.modelValue.findIndex(agg => agg.default);
},
set(v) {
let curr = this.modelValue.find(agg => agg.default);
delete curr.default;
const curr = this.modelValue.find(agg => agg.default);
if (curr)
delete curr.default;
this.modelValue[v].default = true;
},
},