mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Move translate bio button
This commit is contained in:
@@ -241,19 +241,23 @@
|
|||||||
"
|
"
|
||||||
>{{ userDialog.ref.bio || '-' }}</pre
|
>{{ userDialog.ref.bio || '-' }}</pre
|
||||||
>
|
>
|
||||||
<div v-if="userDialog.id === currentUser.id" style="float: right">
|
<div style="float: right">
|
||||||
<el-button
|
<el-button
|
||||||
|
v-if="translationApi && userDialog.ref.bio"
|
||||||
|
type="text"
|
||||||
|
size="small"
|
||||||
|
style="margin-left: 5px; padding: 0"
|
||||||
|
@click="translateBio"
|
||||||
|
><i class="ri-translate-2"></i
|
||||||
|
></el-button>
|
||||||
|
<el-button
|
||||||
|
v-if="userDialog.id === currentUser.id"
|
||||||
type="text"
|
type="text"
|
||||||
:icon="Edit"
|
:icon="Edit"
|
||||||
size="small"
|
size="small"
|
||||||
style="margin-left: 5px"
|
style="margin-left: 5px; padding: 0"
|
||||||
@click="showBioDialog"></el-button>
|
@click="showBioDialog"></el-button>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="translationApi && userDialog.ref.bio" style="float: right">
|
|
||||||
<el-button type="text" size="small" style="margin-left: 5px" @click="translateBio"
|
|
||||||
><i class="ri-translate-2"></i
|
|
||||||
></el-button>
|
|
||||||
</div>
|
|
||||||
<div style="margin-top: 5px">
|
<div style="margin-top: 5px">
|
||||||
<el-tooltip v-for="(link, index) in userDialog.ref.bioLinks" :key="index">
|
<el-tooltip v-for="(link, index) in userDialog.ref.bioLinks" :key="index">
|
||||||
<template #content>
|
<template #content>
|
||||||
|
|||||||
Reference in New Issue
Block a user