put le_ids aswell as viewdata for le selection in globalProperties to share between components; using FhcApi Plugin for API calls; le selection in setup now with info (gruppe_kurzbz, lehrform_kurzbz, semester, verband, gruppe); fixed setting foto in viewData after refreshing sum eg after kontrolle;

This commit is contained in:
Johann Hoffmann
2024-04-08 12:25:25 +02:00
parent 927ed934c0
commit cf0c7a2f8c
+1 -1
View File
@@ -258,6 +258,7 @@ export default {
constructor(factorypart, root) {
if (root === undefined)
this.$fhcApi = app.config.globalProperties.$fhcApi;
else
Object.defineProperty(this, '$fhcApi', {
get() {
@@ -277,6 +278,5 @@ export default {
}
app.config.globalProperties.$fhcApi.factory = new FhcApiFactoryWrapper(FhcApiFactory);
}
};