getActiveStgs

This commit is contained in:
cgfhtw
2023-12-27 10:51:57 +01:00
parent aa5868826f
commit 43813b3ef0
3 changed files with 26 additions and 41 deletions
@@ -44,7 +44,7 @@ export default {
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
'/components/Antrag/Leitung/getActiveStgs'
).then(result => {
this.stgs = Object.values(result.data.retval).sort((a,b) => a.bezeichnung == b.bezeichnung ? (a.orgform == b.orgform ? 0 : (a.orgform > b.orgform ? 1 : -1)) : (a.bezeichnung > b.bezeichnung ? 1 : -1));
this.stgs = result.data.retval;
}).catch(error => {
console.error(error);
});