Level 1
ok, I'm adding company data and caught some areas that still referenced age in my /resources/assets/js/components/settings/profile/update-company-information.js under ready where it loads the values , now I'm up and running.
Vue.component('update-company-information', {
props: ['user'],
data() {
return {
form: new SparkForm({
companyname: '',
companyaddress: ''
})
};
},
ready() {
this.form.companyname = this.user.companyname;
this.form.companyaddress = this.user.companyaddress;
},
methods: {
update() {
Spark.put('/settings/profile/details', this.form)
.then(response => {
this.$dispatch('updateUser');
});
}
}
});