fix missing type
Signed-off-by: garionion <github@entr0py.de>
This commit is contained in:
parent
d8ac261b13
commit
cad579e759
|
@ -57,7 +57,7 @@ export default {
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
async setup(props) {
|
async setup(props: { logout?: string }) {
|
||||||
const { logout } = toRefs(props);
|
const { logout } = toRefs(props);
|
||||||
const user = ref("");
|
const user = ref("");
|
||||||
const password = ref("");
|
const password = ref("");
|
||||||
|
@ -73,7 +73,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (logout.value !== undefined) {
|
if (logout?.value !== undefined) {
|
||||||
console.log("LOGOUT");
|
console.log("LOGOUT");
|
||||||
await apiLogout();
|
await apiLogout();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue