fix isAppRunning

This commit is contained in:
Surya Paolo
2022-12-20 10:58:55 +01:00
parent 3aaa94c33e
commit 2a97456c0f
17 changed files with 57 additions and 36 deletions

View File

@@ -34,7 +34,7 @@ export default function () {
function getTeacherByUsername(username: string) {
const op = getOperatorByUsername(username)
if (!!op) {
return op.name ? op.name : '' + ' ' + op.surname ? op.surname : ''
return (op.name ? op.name : '') + ' ' + op.surname ? op.surname : ''
} else {
return ''
}