Fix checklist removal and fix profile modal

This commit is contained in:
Andrew Kingston 2023-01-09 11:35:31 +00:00
parent a456e18bde
commit 531fe63b4b
1 changed files with 2 additions and 4 deletions

View File

@ -18,13 +18,11 @@
import ThemeModal from "components/settings/ThemeModal.svelte" import ThemeModal from "components/settings/ThemeModal.svelte"
import APIKeyModal from "components/settings/APIKeyModal.svelte" import APIKeyModal from "components/settings/APIKeyModal.svelte"
import Logo from "assets/bb-emblem.svg" import Logo from "assets/bb-emblem.svg"
import ConfigChecklist from "components/common/ConfigChecklist.svelte"
// import { isEnabled, TENANT_FEATURE_FLAGS } from "helpers/featureFlags" // import { isEnabled, TENANT_FEATURE_FLAGS } from "helpers/featureFlags"
let loaded = false let loaded = false
let themeModal let themeModal
let profileModal let profileModal
let userInfoModal
let updatePasswordModal let updatePasswordModal
let apiKeyModal let apiKeyModal
let mobileMenuVisible = false let mobileMenuVisible = false
@ -220,7 +218,7 @@
</MenuItem> </MenuItem>
<MenuItem <MenuItem
icon="UserEdit" icon="UserEdit"
on:click={() => userInfoModal.show()} on:click={() => profileModal.show()}
dataCy="user-info" dataCy="user-info"
> >
My profile My profile
@ -255,7 +253,7 @@
<Modal bind:this={themeModal}> <Modal bind:this={themeModal}>
<ThemeModal /> <ThemeModal />
</Modal> </Modal>
<Modal bind:this={userInfoModal}> <Modal bind:this={profileModal}>
<ProfileModal /> <ProfileModal />
</Modal> </Modal>
<Modal bind:this={updatePasswordModal}> <Modal bind:this={updatePasswordModal}>