mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 15:53:50 +02:00
Avatar gallery and listing
This commit is contained in:
@@ -447,7 +447,7 @@
|
||||
<script setup>
|
||||
import { getCurrentInstance, inject, ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n-bridge';
|
||||
import { userRequest, vrcPlusIconRequest, vrcPlusImageRequest } from '../../../api';
|
||||
import { userRequest, vrcPlusIconRequest, vrcPlusImageRequest, miscRequest } from '../../../api';
|
||||
import { extractFileId } from '../../../composables/shared/utils';
|
||||
import { emojiAnimationStyleList, emojiAnimationStyleUrl } from '../../../composables/user/constants/emoji';
|
||||
import { getPrintFileName } from '../../../composables/user/utils';
|
||||
@@ -623,7 +623,7 @@
|
||||
}
|
||||
|
||||
function deleteGalleryImage(fileId) {
|
||||
vrcPlusIconRequest.deleteFile(fileId).then((args) => {
|
||||
miscRequest.deleteFile(fileId).then((args) => {
|
||||
// API.$emit('GALLERYIMAGE:DELETE', args);
|
||||
// API.$on('GALLERYIMAGE:DELETE')
|
||||
const array = props.galleryTable;
|
||||
@@ -726,7 +726,7 @@
|
||||
}
|
||||
|
||||
function deleteVRCPlusIcon(fileId) {
|
||||
vrcPlusIconRequest.deleteFile(fileId).then((args) => {
|
||||
miscRequest.deleteFile(fileId).then((args) => {
|
||||
// API.$emit('VRCPLUSICON:DELETE', args);
|
||||
// API.$on('VRCPLUSICON:DELETE')
|
||||
const array = props.VRCPlusIconsTable;
|
||||
@@ -857,7 +857,7 @@
|
||||
}
|
||||
|
||||
function deleteEmoji(fileId) {
|
||||
vrcPlusIconRequest.deleteFile(fileId).then((args) => {
|
||||
miscRequest.deleteFile(fileId).then((args) => {
|
||||
// API.$emit('EMOJI:DELETE', args);
|
||||
// API.$on('EMOJI:DELETE')
|
||||
const array = props.emojiTable;
|
||||
@@ -927,7 +927,7 @@
|
||||
}
|
||||
|
||||
function deleteSticker(fileId) {
|
||||
vrcPlusIconRequest.deleteFile(fileId).then((args) => {
|
||||
miscRequest.deleteFile(fileId).then((args) => {
|
||||
// API.$emit('STICKER:DELETE', args);
|
||||
// API.$on('STICKER:DELETE')
|
||||
const array = props.stickerTable;
|
||||
|
||||
Reference in New Issue
Block a user