fix: adopt extended service subtypes in participant sizes form

This commit is contained in:
Björn Fromme
2024-09-17 14:26:48 +02:00
parent 7b835efe84
commit 57a2f452d1
@@ -35,6 +35,12 @@
type: Object, type: Object,
required: true required: true
}, },
subTypes: {
type: Array,
default() {
return ['VER', 'VE2', 'VE3', 'VE4', 'VE5', 'VE6', 'VE7', 'VE8']
}
},
mutable: { mutable: {
type: Boolean, type: Boolean,
default: false default: false
@@ -62,7 +68,7 @@
if (typeof this.services[id] === 'undefined') { if (typeof this.services[id] === 'undefined') {
continue; continue;
} }
if ('VER' === this.services[id].subType) { if (this.subTypes.includes(this.services[id].subType)) {
result = true; result = true;
} }
} }