Changing update user info to view user info.

This commit is contained in:
mike12345567 2022-02-09 18:30:00 +00:00
parent 7ed0cb274a
commit 8f81906896
3 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@
import { goto } from "@roxi/routify"
import { AppStatus } from "constants"
import { gradient } from "actions"
import UpdateUserInfoModal from "components/settings/UpdateUserInfoModal.svelte"
import UserInfoModal from "components/settings/UserInfoModal.svelte"
import ChangePasswordModal from "components/settings/ChangePasswordModal.svelte"
import { processStringSync } from "@budibase/string-templates"
import Logo from "assets/bb-emblem.svg"
@ -79,7 +79,7 @@
<Icon size="XL" name="ChevronDown" />
</div>
<MenuItem icon="UserEdit" on:click={() => userInfoModal.show()}>
Update user information
View user information
</MenuItem>
<MenuItem
icon="LockClosed"
@ -150,7 +150,7 @@
</Page>
</div>
<Modal bind:this={userInfoModal}>
<UpdateUserInfoModal />
<UserInfoModal />
</Modal>
<Modal bind:this={changePasswordModal}>
<ChangePasswordModal />

View File

@ -16,7 +16,7 @@
import { organisation, auth } from "stores/portal"
import { admin as adminStore } from "stores/portal"
import { onMount } from "svelte"
import UpdateUserInfoModal from "components/settings/UpdateUserInfoModal.svelte"
import UserInfoModal from "components/settings/UserInfoModal.svelte"
import ChangePasswordModal from "components/settings/ChangePasswordModal.svelte"
import Logo from "assets/bb-emblem.svg"
@ -160,7 +160,7 @@
<Icon size="XL" name="ChevronDown" />
</div>
<MenuItem icon="UserEdit" on:click={() => userInfoModal.show()}>
Update user information
View user information
</MenuItem>
<MenuItem
icon="LockClosed"
@ -181,7 +181,7 @@
</div>
</div>
<Modal bind:this={userInfoModal}>
<UpdateUserInfoModal />
<UserInfoModal />
</Modal>
<Modal bind:this={changePasswordModal}>
<ChangePasswordModal />