mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
More secure status list
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user