mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-02 21:16:07 +02:00
Fix sending invite images
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user