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