replace store by data() for OnTheFly creation in AddPersons component

This commit is contained in:
2021-08-26 00:06:24 +02:00
parent ccb302ad28
commit 34df295801
3 changed files with 27 additions and 27 deletions

View File

@@ -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')
}
}
}