mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
remove sidebar logou button
This commit is contained in:
@@ -74,7 +74,6 @@
|
||||
<span>{{ t('nav_menu.discord') }}</span>
|
||||
</button>
|
||||
</div>
|
||||
<el-divider></el-divider>
|
||||
</div>
|
||||
<template #reference>
|
||||
<div>
|
||||
|
||||
@@ -51,17 +51,6 @@
|
||||
style="margin-right: 10px"
|
||||
@click="refreshFriendsList"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip placement="bottom" :content="t('view.profile.profile.logout')">
|
||||
<el-button
|
||||
type="danger"
|
||||
:icon="SwitchButton"
|
||||
plain
|
||||
size="small"
|
||||
circle
|
||||
@click="logout"
|
||||
style="margin: 0 10px 0 0">
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
<el-tabs class="zero-margin-tabs" stretch style="height: calc(100% - 60px); margin-top: 5px">
|
||||
@@ -89,11 +78,11 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Refresh, SwitchButton } from '@element-plus/icons-vue';
|
||||
import { Refresh } from '@element-plus/icons-vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { useAuthStore, useFriendStore, useGroupStore, useSearchStore } from '../../stores';
|
||||
import { useFriendStore, useGroupStore, useSearchStore } from '../../stores';
|
||||
import { userImage } from '../../shared/utils';
|
||||
|
||||
import FriendsSidebar from './components/FriendsSidebar.vue';
|
||||
@@ -104,7 +93,6 @@
|
||||
const { quickSearchRemoteMethod, quickSearchChange } = useSearchStore();
|
||||
const { quickSearchItems } = storeToRefs(useSearchStore());
|
||||
const { inGameGroupOrder, groupInstances } = storeToRefs(useGroupStore());
|
||||
const { logout } = useAuthStore();
|
||||
const { t } = useI18n();
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user