mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
33 lines
733 B
JavaScript
Executable File
33 lines
733 B
JavaScript
Executable File
import ProfilUpdateView from "../../components/Cis/ProfilUpdate/ProfilUpdateView.js";
|
|
import Phrasen from "../../plugin/Phrasen.js";
|
|
|
|
const app = Vue.createApp({
|
|
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");
|