mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 19:21:54 +03:00
Fix --startup.project
to bypass opening dashboard (#6671)
This commit is contained in:
parent
1c89430597
commit
8569ab98c2
@ -187,7 +187,12 @@ class Main implements AppRunner {
|
||||
const isOpeningMainEntryPoint =
|
||||
contentConfig.OPTIONS.groups.startup.options.entry.value ===
|
||||
contentConfig.OPTIONS.groups.startup.options.entry.default
|
||||
if ((isUsingAuthentication || isUsingNewDashboard) && isOpeningMainEntryPoint) {
|
||||
const isNotOpeningProject = contentConfig.OPTIONS.groups.startup.options.entry.value === ''
|
||||
if (
|
||||
(isUsingAuthentication || isUsingNewDashboard) &&
|
||||
isOpeningMainEntryPoint &&
|
||||
isNotOpeningProject
|
||||
) {
|
||||
const hideAuth = () => {
|
||||
const auth = document.getElementById('dashboard')
|
||||
const ide = document.getElementById('root')
|
||||
|
Loading…
Reference in New Issue
Block a user