mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-23 23:19:28 +00:00
33 lines
767 B
JavaScript
33 lines
767 B
JavaScript
import ProfilUpdateView from "../../components/Cis/ProfilUpdate/ProfilUpdateView.js";
|
|
import Phrasen from "../../plugin/Phrasen.js";
|
|
|
|
const app = Vue.createApp({
|
|
name: 'ProfilUpdateRequestsApp',
|
|
components: {
|
|
["profil-update-view"]: ProfilUpdateView,
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
profilUpdateStates: null,
|
|
};
|
|
},
|
|
provide() {
|
|
return {
|
|
profilUpdateStates: Vue.computed(() =>
|
|
this.profilUpdateStates ? this.profilUpdateStates : false
|
|
),
|
|
};
|
|
},
|
|
methods: {},
|
|
created() {
|
|
this.$fhcApi.factory.profilUpdate.getStatus()
|
|
.then((response) => {
|
|
this.profilUpdateStates = response.data;
|
|
})
|
|
.catch((error) => {
|
|
console.error(error);
|
|
});
|
|
},
|
|
});
|
|
app.use(Phrasen).mount("#content"); |