More secure status list

This commit is contained in:
cgfhtw
2024-07-25 15:12:59 +02:00
parent 5ab9acfe89
commit e1b179a248
@@ -83,7 +83,7 @@ export default{
if (this.statusNew)
return this.stati.filter(status => this.allowedNewStatus.includes(status.status_kurzbz));
return this.stati;
return this.stati.filter(status => this.statusId.status_kurzbz == status.status_kurzbz);
},
gruende() {
return this.statusgruende.filter(grund => grund.status_kurzbz == this.formData.status_kurzbz);