Removed debug logging
This commit is contained in:
parent
3c5720fe1c
commit
3461a3c657
|
@ -26,13 +26,12 @@
|
||||||
const lastChar = $auth.user?.firstName
|
const lastChar = $auth.user?.firstName
|
||||||
? $auth.user?.firstName[$auth.user?.firstName.length - 1]
|
? $auth.user?.firstName[$auth.user?.firstName.length - 1]
|
||||||
: null
|
: null
|
||||||
console.log(lastChar)
|
|
||||||
defaultAppName =
|
defaultAppName =
|
||||||
lastChar && lastChar.toLowerCase() == "s"
|
lastChar && lastChar.toLowerCase() == "s"
|
||||||
? `${$auth.user?.firstName} app`
|
? `${$auth.user?.firstName} app`
|
||||||
: `${$auth.user.firstName}s app`
|
: `${$auth.user.firstName}s app`
|
||||||
|
|
||||||
console.log(defaultAppName)
|
|
||||||
$values.name = resolveAppName(
|
$values.name = resolveAppName(
|
||||||
template,
|
template,
|
||||||
!$auth.user?.firstName ? "My app" : defaultAppName
|
!$auth.user?.firstName ? "My app" : defaultAppName
|
||||||
|
|
Loading…
Reference in New Issue