adds more filter options for the ProfilUpdateView

This commit is contained in:
SimonGschnell
2024-04-11 11:20:32 +02:00
parent 4fc4cd762d
commit 2b68831415
5 changed files with 62 additions and 62 deletions
+22 -12
View File
@@ -3,22 +3,32 @@ import ProfilUpdateView from "../../components/Cis/ProfilUpdate/ProfilUpdateView
import Phrasen from "../../plugin/Phrasen.js";
Vue.$fhcapi = fhcapifactory;
const app = Vue.createApp({
components: {
['profil-update-view']:ProfilUpdateView,
["profil-update-view"]: ProfilUpdateView,
},
data() {
return {
}
},methods:{
}
profilUpdateStates: null,
};
},
provide() {
return {
profilUpdateStates: Vue.computed(() =>
this.profilUpdateStates ? this.profilUpdateStates : false
),
};
},
methods: {},
created() {
Vue.$fhcapi.ProfilUpdate.getStatus()
.then((response) => {
this.profilUpdateStates = response.data;
})
.catch((error) => {
console.error(error);
});
},
});
app.use(Phrasen).mount("#content");