mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
Fix clearing bio translate
This commit is contained in:
@@ -923,7 +923,7 @@
|
|||||||
<span
|
<span
|
||||||
class="name"
|
class="name"
|
||||||
:style="{ color: user.user?.$userColour }"
|
:style="{ color: user.user?.$userColour }"
|
||||||
v-text="user.user.displayName" />
|
v-text="user.user?.displayName" />
|
||||||
<span class="extra">
|
<span class="extra">
|
||||||
<template v-if="hasGroupPermission(groupDialog.ref, 'group-members-manage')">
|
<template v-if="hasGroupPermission(groupDialog.ref, 'group-members-manage')">
|
||||||
<TooltipWrapper
|
<TooltipWrapper
|
||||||
@@ -984,7 +984,7 @@
|
|||||||
<span
|
<span
|
||||||
class="name"
|
class="name"
|
||||||
:style="{ color: user.user?.$userColour }"
|
:style="{ color: user.user?.$userColour }"
|
||||||
v-text="user.user.displayName" />
|
v-text="user.user?.displayName" />
|
||||||
<span class="extra">
|
<span class="extra">
|
||||||
<template v-if="hasGroupPermission(groupDialog.ref, 'group-members-manage')">
|
<template v-if="hasGroupPermission(groupDialog.ref, 'group-members-manage')">
|
||||||
<TooltipWrapper
|
<TooltipWrapper
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column :label="t('table.previous_instances.action')" width="90" align="right">
|
<el-table-column :label="t('table.previous_instances.action')" width="120" align="right">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<Button
|
<Button
|
||||||
size="icon-sm"
|
size="icon-sm"
|
||||||
@@ -70,8 +70,8 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { computed, nextTick, reactive, ref, watch } from 'vue';
|
import { computed, nextTick, reactive, ref, watch } from 'vue';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { InputGroupField } from '@/components/ui/input-group';
|
|
||||||
import { ElMessageBox } from 'element-plus';
|
import { ElMessageBox } from 'element-plus';
|
||||||
|
import { InputGroupField } from '@/components/ui/input-group';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<span v-text="scope.row.timer"></span>
|
<span v-text="scope.row.timer"></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="t('table.previous_instances.action')" width="90" align="right">
|
<el-table-column :label="t('table.previous_instances.action')" width="120" align="right">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<Button
|
<Button
|
||||||
size="icon-sm"
|
size="icon-sm"
|
||||||
@@ -74,8 +74,8 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { computed, nextTick, reactive, ref, watch } from 'vue';
|
import { computed, nextTick, reactive, ref, watch } from 'vue';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { InputGroupField } from '@/components/ui/input-group';
|
|
||||||
import { ElMessageBox } from 'element-plus';
|
import { ElMessageBox } from 'element-plus';
|
||||||
|
import { InputGroupField } from '@/components/ui/input-group';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<span v-text="scope.row.timer"></span>
|
<span v-text="scope.row.timer"></span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="t('table.previous_instances.action')" width="90" align="right">
|
<el-table-column :label="t('table.previous_instances.action')" width="120" align="right">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<Button
|
<Button
|
||||||
size="icon-sm"
|
size="icon-sm"
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { computed, nextTick, reactive, ref, watch } from 'vue';
|
import { computed, nextTick, reactive, ref, watch } from 'vue';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { InputGroupField } from '@/components/ui/input-group';
|
|
||||||
import { ElMessageBox } from 'element-plus';
|
import { ElMessageBox } from 'element-plus';
|
||||||
|
import { InputGroupField } from '@/components/ui/input-group';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
|
|||||||
@@ -1443,6 +1443,12 @@
|
|||||||
userDialogIndex.value = getNextDialogIndex();
|
userDialogIndex.value = getNextDialogIndex();
|
||||||
});
|
});
|
||||||
!userDialog.value.loading && loadLastActiveTab();
|
!userDialog.value.loading && loadLastActiveTab();
|
||||||
|
if (userDialog.value.id !== bioCache.value.userId) {
|
||||||
|
bioCache.value = {
|
||||||
|
userId: null,
|
||||||
|
translated: null
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -525,7 +525,7 @@ export const createColumns = ({
|
|||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="inline-flex h-6 items-center justify-center text-muted-foreground hover:text-foreground"
|
class="inline-flex h-6 ml-1 items-center justify-center text-muted-foreground hover:text-foreground"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
acceptFriendRequestNotification(
|
acceptFriendRequestNotification(
|
||||||
original
|
original
|
||||||
@@ -548,7 +548,7 @@ export const createColumns = ({
|
|||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="inline-flex h-6 items-center justify-center text-muted-foreground hover:text-foreground"
|
class="inline-flex h-6 ml-1 items-center justify-center text-muted-foreground hover:text-foreground"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
showSendInviteResponseDialog(
|
showSendInviteResponseDialog(
|
||||||
original
|
original
|
||||||
@@ -575,7 +575,7 @@ export const createColumns = ({
|
|||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="inline-flex h-6 items-center justify-center text-muted-foreground hover:text-foreground"
|
class="inline-flex h-6 ml-1 items-center justify-center text-muted-foreground hover:text-foreground"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
acceptRequestInvite(
|
acceptRequestInvite(
|
||||||
original
|
original
|
||||||
@@ -596,7 +596,7 @@ export const createColumns = ({
|
|||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="inline-flex h-6 items-center justify-center text-muted-foreground hover:text-foreground"
|
class="inline-flex h-6 ml-1 items-center justify-center text-muted-foreground hover:text-foreground"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
showSendInviteRequestResponseDialog(
|
showSendInviteRequestResponseDialog(
|
||||||
original
|
original
|
||||||
@@ -655,7 +655,7 @@ export const createColumns = ({
|
|||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="inline-flex h-6 items-center justify-center text-muted-foreground hover:text-foreground"
|
class="inline-flex h-6 ml-1 items-center justify-center text-muted-foreground hover:text-foreground"
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
@@ -682,7 +682,7 @@ export const createColumns = ({
|
|||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="inline-flex h-6 items-center justify-center text-muted-foreground hover:text-foreground"
|
class="inline-flex h-6 ml-1 items-center justify-center text-muted-foreground hover:text-foreground"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
shiftHeld.value
|
shiftHeld.value
|
||||||
? hideNotification(
|
? hideNotification(
|
||||||
@@ -708,74 +708,74 @@ export const createColumns = ({
|
|||||||
</Tooltip>
|
</Tooltip>
|
||||||
</TooltipProvider>
|
</TooltipProvider>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
|
{original.type === 'group.queueReady' ? (
|
||||||
|
<TooltipProvider>
|
||||||
|
<Tooltip>
|
||||||
|
<TooltipTrigger asChild>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="inline-flex h-6 ml-1 items-center justify-center text-muted-foreground hover:text-foreground"
|
||||||
|
onClick={() =>
|
||||||
|
shiftHeld.value
|
||||||
|
? deleteNotificationLog(
|
||||||
|
original
|
||||||
|
)
|
||||||
|
: deleteNotificationLogPrompt(
|
||||||
|
original
|
||||||
|
)
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
class={
|
||||||
|
shiftHeld.value
|
||||||
|
? 'ri-close-line text-red-600'
|
||||||
|
: 'ri-delete-bin-line'
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
</TooltipTrigger>
|
||||||
|
<TooltipContent side="top">
|
||||||
|
<span>Delete log</span>
|
||||||
|
</TooltipContent>
|
||||||
|
</Tooltip>
|
||||||
|
</TooltipProvider>
|
||||||
|
) : null}
|
||||||
|
|
||||||
|
{showDeleteLog ? (
|
||||||
|
<TooltipProvider>
|
||||||
|
<Tooltip>
|
||||||
|
<TooltipTrigger asChild>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="inline-flex h-6 ml-1 items-center justify-center text-muted-foreground hover:text-foreground"
|
||||||
|
onClick={() =>
|
||||||
|
shiftHeld.value
|
||||||
|
? deleteNotificationLog(
|
||||||
|
original
|
||||||
|
)
|
||||||
|
: deleteNotificationLogPrompt(
|
||||||
|
original
|
||||||
|
)
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<i
|
||||||
|
class={
|
||||||
|
shiftHeld.value
|
||||||
|
? 'ri-close-line text-red-600'
|
||||||
|
: 'ri-delete-bin-line'
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</button>
|
||||||
|
</TooltipTrigger>
|
||||||
|
<TooltipContent side="top">
|
||||||
|
<span>Delete log</span>
|
||||||
|
</TooltipContent>
|
||||||
|
</Tooltip>
|
||||||
|
</TooltipProvider>
|
||||||
|
) : null}
|
||||||
</span>
|
</span>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
{original.type === 'group.queueReady' ? (
|
|
||||||
<TooltipProvider>
|
|
||||||
<Tooltip>
|
|
||||||
<TooltipTrigger asChild>
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
class="inline-flex h-6 items-center justify-center text-muted-foreground hover:text-foreground"
|
|
||||||
onClick={() =>
|
|
||||||
shiftHeld.value
|
|
||||||
? deleteNotificationLog(
|
|
||||||
original
|
|
||||||
)
|
|
||||||
: deleteNotificationLogPrompt(
|
|
||||||
original
|
|
||||||
)
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<i
|
|
||||||
class={
|
|
||||||
shiftHeld.value
|
|
||||||
? 'ri-close-line text-red-600'
|
|
||||||
: 'ri-delete-bin-line'
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</TooltipTrigger>
|
|
||||||
<TooltipContent side="top">
|
|
||||||
<span>Delete log</span>
|
|
||||||
</TooltipContent>
|
|
||||||
</Tooltip>
|
|
||||||
</TooltipProvider>
|
|
||||||
) : null}
|
|
||||||
|
|
||||||
{showDeleteLog ? (
|
|
||||||
<TooltipProvider>
|
|
||||||
<Tooltip>
|
|
||||||
<TooltipTrigger asChild>
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
class="inline-flex h-6 items-center justify-center text-muted-foreground hover:text-foreground"
|
|
||||||
onClick={() =>
|
|
||||||
shiftHeld.value
|
|
||||||
? deleteNotificationLog(
|
|
||||||
original
|
|
||||||
)
|
|
||||||
: deleteNotificationLogPrompt(
|
|
||||||
original
|
|
||||||
)
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<i
|
|
||||||
class={
|
|
||||||
shiftHeld.value
|
|
||||||
? 'ri-close-line text-red-600'
|
|
||||||
: 'ri-delete-bin-line'
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
</button>
|
|
||||||
</TooltipTrigger>
|
|
||||||
<TooltipContent side="top">
|
|
||||||
<span>Delete log</span>
|
|
||||||
</TooltipContent>
|
|
||||||
</Tooltip>
|
|
||||||
</TooltipProvider>
|
|
||||||
) : null}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user