mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
adds more filter options for the ProfilUpdateView
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user