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,
required: true
},
subTypes: {
type: Array,
default() {
return ['VER', 'VE2', 'VE3', 'VE4', 'VE5', 'VE6', 'VE7', 'VE8']
}
},
mutable: {
type: Boolean,
default: false
@@ -62,7 +68,7 @@
if (typeof this.services[id] === 'undefined') {
continue;
}
if ('VER' === this.services[id].subType) {
if (this.subTypes.includes(this.services[id].subType)) {
result = true;
}
}