mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +02:00
Upload invite photos fix
This commit is contained in:
+2
-3
@@ -8877,9 +8877,8 @@ speechSynthesis.getVoices();
|
|||||||
};
|
};
|
||||||
|
|
||||||
$app.methods.clearInviteImageUpload = function () {
|
$app.methods.clearInviteImageUpload = function () {
|
||||||
if (document.querySelector('#InviteImageUploadButton')) {
|
var buttonList = document.querySelectorAll('.inviteImageUploadButton');
|
||||||
document.querySelector('#InviteImageUploadButton').value = '';
|
buttonList.forEach(button => button.value = '');
|
||||||
}
|
|
||||||
this.uploadImage = '';
|
this.uploadImage = '';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -1513,7 +1513,7 @@ html
|
|||||||
//- dialog Table: Send Invite Response Message
|
//- dialog Table: Send Invite Response Message
|
||||||
el-dialog.x-dialog(ref="sendInviteResponseDialog" :visible.sync="sendInviteResponseDialogVisible" title="Send Invite Response Message" width="800px")
|
el-dialog.x-dialog(ref="sendInviteResponseDialog" :visible.sync="sendInviteResponseDialogVisible" title="Send Invite Response Message" width="800px")
|
||||||
template(v-if="API.currentUser.$isVRCPlus")
|
template(v-if="API.currentUser.$isVRCPlus")
|
||||||
input(type="file" multiple accept="image/*" @change="inviteImageUpload" id="InviteImageUploadButton")
|
input.inviteImageUploadButton(type="file" multiple accept="image/*" @change="inviteImageUpload")
|
||||||
data-tables(v-bind="inviteResponseMessageTable" @row-click="showSendInviteResponseConfirmDialog" style="margin-top:10px;cursor:pointer")
|
data-tables(v-bind="inviteResponseMessageTable" @row-click="showSendInviteResponseConfirmDialog" style="margin-top:10px;cursor:pointer")
|
||||||
el-table-column(label="Slot" prop="slot" sortable="custom" width="70")
|
el-table-column(label="Slot" prop="slot" sortable="custom" width="70")
|
||||||
el-table-column(label="Message" prop="message")
|
el-table-column(label="Message" prop="message")
|
||||||
@@ -1530,7 +1530,7 @@ html
|
|||||||
//- dialog Table: Send Invite Request Response Message
|
//- dialog Table: Send Invite Request Response Message
|
||||||
el-dialog.x-dialog(ref="sendInviteRequestResponseDialog" :visible.sync="sendInviteRequestResponseDialogVisible" title="Send Invite Request Response Message" width="800px")
|
el-dialog.x-dialog(ref="sendInviteRequestResponseDialog" :visible.sync="sendInviteRequestResponseDialogVisible" title="Send Invite Request Response Message" width="800px")
|
||||||
template(v-if="API.currentUser.$isVRCPlus")
|
template(v-if="API.currentUser.$isVRCPlus")
|
||||||
input(type="file" multiple accept="image/*" @change="inviteImageUpload" id="InviteImageUploadButton")
|
input.inviteImageUploadButton(type="file" multiple accept="image/*" @change="inviteImageUpload")
|
||||||
data-tables(v-bind="inviteRequestResponseMessageTable" @row-click="showSendInviteResponseConfirmDialog" style="margin-top:10px;cursor:pointer")
|
data-tables(v-bind="inviteRequestResponseMessageTable" @row-click="showSendInviteResponseConfirmDialog" style="margin-top:10px;cursor:pointer")
|
||||||
el-table-column(label="Slot" prop="slot" sortable="custom" width="70")
|
el-table-column(label="Slot" prop="slot" sortable="custom" width="70")
|
||||||
el-table-column(label="Message" prop="message")
|
el-table-column(label="Message" prop="message")
|
||||||
@@ -1555,7 +1555,7 @@ html
|
|||||||
//- dialog Table: Send Invite Message
|
//- dialog Table: Send Invite Message
|
||||||
el-dialog.x-dialog(ref="sendInviteDialog" :visible.sync="sendInviteDialogVisible" title="Send Invite Message" width="800px")
|
el-dialog.x-dialog(ref="sendInviteDialog" :visible.sync="sendInviteDialogVisible" title="Send Invite Message" width="800px")
|
||||||
template(v-if="API.currentUser.$isVRCPlus")
|
template(v-if="API.currentUser.$isVRCPlus")
|
||||||
input(type="file" multiple accept="image/*" @change="inviteImageUpload" id="InviteImageUploadButton")
|
input.inviteImageUploadButton(type="file" multiple accept="image/*" @change="inviteImageUpload")
|
||||||
data-tables(v-bind="inviteMessageTable" @row-click="showSendInviteConfirmDialog" style="margin-top:10px;cursor:pointer")
|
data-tables(v-bind="inviteMessageTable" @row-click="showSendInviteConfirmDialog" style="margin-top:10px;cursor:pointer")
|
||||||
el-table-column(label="Slot" prop="slot" sortable="custom" width="70")
|
el-table-column(label="Slot" prop="slot" sortable="custom" width="70")
|
||||||
el-table-column(label="Message" prop="message")
|
el-table-column(label="Message" prop="message")
|
||||||
@@ -1572,7 +1572,7 @@ html
|
|||||||
//- dialog Table: Send Invite Request Message
|
//- dialog Table: Send Invite Request Message
|
||||||
el-dialog.x-dialog(ref="sendInviteRequestDialog" :visible.sync="sendInviteRequestDialogVisible" title="Send Invite Request Message" width="800px")
|
el-dialog.x-dialog(ref="sendInviteRequestDialog" :visible.sync="sendInviteRequestDialogVisible" title="Send Invite Request Message" width="800px")
|
||||||
template(v-if="API.currentUser.$isVRCPlus")
|
template(v-if="API.currentUser.$isVRCPlus")
|
||||||
input(type="file" multiple accept="image/*" @change="inviteImageUpload" id="InviteImageUploadButton")
|
input.inviteImageUploadButton(type="file" multiple accept="image/*" @change="inviteImageUpload")
|
||||||
data-tables(v-bind="inviteRequestMessageTable" @row-click="showSendInviteConfirmDialog" style="margin-top:10px;cursor:pointer")
|
data-tables(v-bind="inviteRequestMessageTable" @row-click="showSendInviteConfirmDialog" style="margin-top:10px;cursor:pointer")
|
||||||
el-table-column(label="Slot" prop="slot" sortable="custom" width="70")
|
el-table-column(label="Slot" prop="slot" sortable="custom" width="70")
|
||||||
el-table-column(label="Message" prop="message")
|
el-table-column(label="Message" prop="message")
|
||||||
|
|||||||
Reference in New Issue
Block a user