mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-10 02:07:12 +08:00
perf(X-Pack): Hide Password Change for Third-Party Users
This commit is contained in:
committed by
fit2cloud-chenyw
parent
1c104e93c6
commit
a6744dd9d1
@@ -31,6 +31,7 @@ const name = computed(() => userStore.getName)
|
||||
const account = computed(() => userStore.getAccount)
|
||||
const currentLanguage = computed(() => userStore.getLanguage)
|
||||
const isAdmin = computed(() => userStore.isAdmin)
|
||||
const isLocalUser = computed(() => !userStore.getOrigin)
|
||||
const dialogVisible = ref(false)
|
||||
const aboutRef = ref()
|
||||
const languageList = computed(() => [
|
||||
@@ -119,7 +120,7 @@ const logout = async () => {
|
||||
</el-icon>
|
||||
<div class="datasource-name">{{ $t('common.system_manage') }}</div>
|
||||
</div>
|
||||
<div class="popover-item" @click="openPwd">
|
||||
<div v-if="isLocalUser" class="popover-item" @click="openPwd">
|
||||
<el-icon size="16">
|
||||
<icon_key_outlined></icon_key_outlined>
|
||||
</el-icon>
|
||||
|
||||
Reference in New Issue
Block a user