Fix clearing bio translate

This commit is contained in:
Natsumi
2026-01-13 12:08:20 +13:00
parent 9b59e54836
commit d2387c5419
6 changed files with 86 additions and 80 deletions

View File

@@ -36,7 +36,7 @@
<span v-text="scope.row.timer"></span>
</template>
</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">
<Button
size="icon-sm"
@@ -78,8 +78,8 @@
<script setup>
import { computed, nextTick, reactive, ref, watch } from 'vue';
import { Button } from '@/components/ui/button';
import { InputGroupField } from '@/components/ui/input-group';
import { ElMessageBox } from 'element-plus';
import { InputGroupField } from '@/components/ui/input-group';
import { storeToRefs } from 'pinia';
import { useI18n } from 'vue-i18n';

View File

@@ -1443,6 +1443,12 @@
userDialogIndex.value = getNextDialogIndex();
});
!userDialog.value.loading && loadLastActiveTab();
if (userDialog.value.id !== bioCache.value.userId) {
bioCache.value = {
userId: null,
translated: null
};
}
}
}
);