Fix logic for enabling dashboard (#6696)

* Fix logic for enabling dashboard

* Run prettier
This commit is contained in:
somebody1234 2023-05-16 00:06:56 +10:00 committed by GitHub
parent b7d51ed5c6
commit 23e75f5e97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,8 @@ class Main implements AppRunner {
const isOpeningMainEntryPoint =
contentConfig.OPTIONS.groups.startup.options.entry.value ===
contentConfig.OPTIONS.groups.startup.options.entry.default
const isNotOpeningProject = contentConfig.OPTIONS.groups.startup.options.entry.value === ''
const isNotOpeningProject =
contentConfig.OPTIONS.groups.startup.options.project.value === ''
if (
(isUsingAuthentication || isUsingNewDashboard) &&
isOpeningMainEntryPoint &&