bug fix
This commit is contained in:
parent
a19175cfb4
commit
2a8f5e3e87
|
@ -347,6 +347,7 @@ class Explore
|
|||
'address' => $person->getAddress(),
|
||||
'prelabel' => null,
|
||||
'tags' => $person->getTags(),
|
||||
'requireTwoStep' => $person->isRequireTwoStep(),
|
||||
];
|
||||
if ($person->getPrelabel()) {
|
||||
$res['prelabel'] = $person->getPrelabel()->getLabel();
|
||||
|
|
|
@ -364,6 +364,8 @@ export default {
|
|||
|
||||
if (id) {
|
||||
axios.post('/api/person/info/' + id).then((response) => {
|
||||
console.log('Loaded person data:', response.data);
|
||||
console.log('requireTwoStep value:', response.data.requireTwoStep);
|
||||
this.person = response.data;
|
||||
this.loading = false;
|
||||
}).catch((error) => {
|
||||
|
|
Loading…
Reference in a new issue