1
0
Fork 0
mirror of synced 2024-09-10 14:35:47 +12:00

Removed debug logging

This commit is contained in:
Dean 2022-05-16 11:35:19 +01:00
parent ef333f14d1
commit fab4b8aa66

View file

@ -26,13 +26,12 @@
const lastChar = $auth.user?.firstName
? $auth.user?.firstName[$auth.user?.firstName.length - 1]
: null
console.log(lastChar)
defaultAppName =
lastChar && lastChar.toLowerCase() == "s"
? `${$auth.user?.firstName} app`
: `${$auth.user.firstName}s app`
console.log(defaultAppName)
$values.name = resolveAppName(
template,
!$auth.user?.firstName ? "My app" : defaultAppName