Fix sending invite images

This commit is contained in:
Natsumi
2025-09-22 01:08:37 +12:00
parent 36efbca57f
commit 94343dec4c
7 changed files with 12 additions and 11 deletions
+3 -4
View File
@@ -1,11 +1,11 @@
import { request } from '../service/request'; import { request } from '../service/request';
import { useGroupStore, useNotificationStore } from '../stores'; import { useGalleryStore, useNotificationStore } from '../stores';
/** /**
* @returns {any} * @returns {any}
*/ */
function getGalleryStore() { function getGalleryStore() {
return useGroupStore(); return useGalleryStore();
} }
const notificationReq = { const notificationReq = {
@@ -158,8 +158,7 @@ const notificationReq = {
sendInviteResponse(params, inviteId) { sendInviteResponse(params, inviteId) {
return request(`invite/${inviteId}/response`, { return request(`invite/${inviteId}/response`, {
method: 'POST', method: 'POST',
params, params
inviteId
}).then((json) => { }).then((json) => {
const args = { const args = {
json, json,
+1 -1
View File
@@ -181,7 +181,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="t('table.feed.date')" prop="created_at" :sortable="true" width="120"> <el-table-column :label="t('table.feed.date')" prop="created_at" :sortable="true" width="130">
<template #default="scope"> <template #default="scope">
<el-tooltip placement="right"> <el-tooltip placement="right">
<template #content> <template #content>
+1 -1
View File
@@ -42,7 +42,7 @@
</div> </div>
<DataTable v-loading="gameLogTable.loading" v-bind="gameLogTable"> <DataTable v-loading="gameLogTable.loading" v-bind="gameLogTable">
<el-table-column :label="t('table.gameLog.date')" prop="created_at" :sortable="true" width="120"> <el-table-column :label="t('table.gameLog.date')" prop="created_at" :sortable="true" width="130">
<template #default="scope"> <template #default="scope">
<el-tooltip placement="right"> <el-tooltip placement="right">
<template #content> <template #content>
+1 -1
View File
@@ -36,7 +36,7 @@
:tableProps="tableProps" :tableProps="tableProps"
:paginationProps="paginationProps" :paginationProps="paginationProps"
v-loading="isPlayerModerationsLoading"> v-loading="isPlayerModerationsLoading">
<el-table-column :label="t('table.moderation.date')" prop="created" :sortable="true" width="120"> <el-table-column :label="t('table.moderation.date')" prop="created" :sortable="true" width="130">
<template #default="scope"> <template #default="scope">
<el-tooltip placement="right"> <el-tooltip placement="right">
<template #content> <template #content>
+1 -1
View File
@@ -50,7 +50,7 @@
</div> </div>
<DataTable v-bind="notificationTable" ref="notificationTableRef" class="notification-table"> <DataTable v-bind="notificationTable" ref="notificationTableRef" class="notification-table">
<el-table-column :label="t('table.notification.date')" prop="created_at" :sortable="true" width="120"> <el-table-column :label="t('table.notification.date')" prop="created_at" :sortable="true" width="130">
<template #default="scope"> <template #default="scope">
<el-tooltip placement="right"> <el-tooltip placement="right">
<template #content> <template #content>
+2 -2
View File
@@ -237,7 +237,7 @@
<el-tabs type="card"> <el-tabs type="card">
<el-tab-pane :label="t('view.player_list.photon.current')"> <el-tab-pane :label="t('view.player_list.photon.current')">
<DataTable v-bind="photonEventTable" style="margin-bottom: 10px"> <DataTable v-bind="photonEventTable" style="margin-bottom: 10px">
<el-table-column :label="t('table.playerList.date')" prop="created_at" width="120"> <el-table-column :label="t('table.playerList.date')" prop="created_at" width="130">
<template #default="scope"> <template #default="scope">
<el-tooltip placement="right"> <el-tooltip placement="right">
<template #content> <template #content>
@@ -438,7 +438,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane :label="t('view.player_list.photon.previous')"> <el-tab-pane :label="t('view.player_list.photon.previous')">
<DataTable v-bind="photonEventTablePrevious" style="margin-bottom: 10px"> <DataTable v-bind="photonEventTablePrevious" style="margin-bottom: 10px">
<el-table-column :label="t('table.playerList.date')" prop="created_at" width="120"> <el-table-column :label="t('table.playerList.date')" prop="created_at" width="130">
<template #default="scope"> <template #default="scope">
<el-tooltip placement="right"> <el-tooltip placement="right">
<template #content> <template #content>
+3 -1
View File
@@ -1214,7 +1214,9 @@
</template> </template>
<div style="float: right"> <div style="float: right">
<span v-if="!config?.minimalFeed" style="display: inline-block">{{ t('vr.status.timer') }}</span> <span v-if="!config?.minimalFeed" style="display: inline-block">{{ t('vr.status.timer') }}</span>
<span v-if="lastLocationTimer" style="display: inline-block">{{ lastLocationTimer }}</span> <span v-if="lastLocationTimer" style="display: inline-block; margin-left: 5px">{{
lastLocationTimer
}}</span>
<span v-if="lastLocationTimer && (onlineForTimer || pcUptime)" style="display: inline-block"> <span v-if="lastLocationTimer && (onlineForTimer || pcUptime)" style="display: inline-block">
| |
</span> </span>