mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
replace store by data() for OnTheFly creation in AddPersons component
This commit is contained in:
@@ -70,12 +70,10 @@ export default {
|
||||
switch (this.radioType) {
|
||||
case 'person':
|
||||
return this.$refs.castPerson.$data.person;
|
||||
//break;
|
||||
case 'thirdparty':
|
||||
return this.$refs.castThirdparty.$data.thirdparty;
|
||||
//break;
|
||||
default:
|
||||
throw 'error with entity';
|
||||
throw Error('Invalid type of entity')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user