Remove invalid options from user menu in apps

This commit is contained in:
Andrew Kingston 2025-03-04 15:37:33 +00:00
parent cb61742bcb
commit f95760fad0
No known key found for this signature in database
1 changed files with 0 additions and 16 deletions

View File

@ -25,16 +25,6 @@
}
}
const requestChangeDetails = () => {}
const requestChangePassword = () => {
// if (isOwner) {
// window.location.href = `${$admin.accountPortalUrl}/portal/account`
// } else {
// changePasswordModal.show()
// }
}
const goToPortal = () => {
window.location.href = "/builder/apps"
}
@ -55,12 +45,6 @@
<Icon size="L" name="ChevronDown" />
</div>
</svelte:fragment>
<MenuItem icon="UserEdit" on:click={requestChangeDetails}>
My profile
</MenuItem>
<MenuItem icon="LockClosed" on:click={requestChangePassword}>
Update password
</MenuItem>
<MenuItem icon="Apps" on:click={goToPortal}>Go to portal</MenuItem>
<MenuItem icon="LogOut" on:click={authStore.actions.logOut}>
Log out