mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-26 10:13:48 +02:00
Clean up
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
</el-collapse-item>
|
||||
<span style="display: block; margin-top: 20px">{{ t('view.favorite.avatars.local_favorites') }}</span>
|
||||
<br />
|
||||
<el-button size="small" :disabled="!isLocalUserVrcplusSupporter" @click="promptNewLocalAvatarFavoriteGroup">
|
||||
<el-button size="small" :disabled="!isLocalUserVrcPlusSupporter" @click="promptNewLocalAvatarFavoriteGroup">
|
||||
{{ t('view.favorite.avatars.new_group') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
@@ -256,7 +256,7 @@
|
||||
} = useFavoriteStore();
|
||||
const { avatarHistoryArray } = storeToRefs(useAvatarStore());
|
||||
const { promptClearAvatarHistory, showAvatarDialog } = useAvatarStore();
|
||||
const { currentUser } = storeToRefs(useUserStore());
|
||||
const { isLocalUserVrcPlusSupporter } = storeToRefs(useUserStore());
|
||||
const { t } = useI18n();
|
||||
|
||||
const avatarExportDialogVisible = ref(false);
|
||||
@@ -286,8 +286,6 @@
|
||||
return groupedByGroupKeyFavoriteAvatars;
|
||||
});
|
||||
|
||||
const isLocalUserVrcplusSupporter = computed(() => currentUser.value.$isVRCPlus);
|
||||
|
||||
function searchAvatarFavorites() {
|
||||
let ref = null;
|
||||
const search = avatarFavoriteSearch.value.toLowerCase();
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
width="800px"
|
||||
append-to-body
|
||||
@close="cancelSendInviteRequestResponse">
|
||||
<template v-if="currentUser.$isVRCPlus">
|
||||
<template v-if="isLocalUserVrcPlusSupporter">
|
||||
<input class="inviteImageUploadButton" type="file" accept="image/*" @change="inviteImageUpload" />
|
||||
</template>
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
const { inviteRequestResponseMessageTable } = storeToRefs(inviteStore);
|
||||
const galleryStore = useGalleryStore();
|
||||
const { inviteImageUpload } = galleryStore;
|
||||
const { currentUser } = storeToRefs(useUserStore());
|
||||
const { isLocalUserVrcPlusSupporter } = storeToRefs(useUserStore());
|
||||
|
||||
const props = defineProps({
|
||||
sendInviteResponseDialog: {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
width="800px"
|
||||
append-to-body
|
||||
@close="cancelSendInviteResponse">
|
||||
<template v-if="currentUser.$isVRCPlus">
|
||||
<template v-if="isLocalUserVrcPlusSupporter">
|
||||
<input class="inviteImageUploadButton" type="file" accept="image/*" @change="inviteImageUpload" />
|
||||
</template>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
const { inviteResponseMessageTable } = storeToRefs(inviteStore);
|
||||
const galleryStore = useGalleryStore();
|
||||
const { inviteImageUpload } = galleryStore;
|
||||
const { currentUser } = storeToRefs(useUserStore());
|
||||
const { isLocalUserVrcPlusSupporter } = storeToRefs(useUserStore());
|
||||
|
||||
const props = defineProps({
|
||||
sendInviteResponseDialog: {
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
size="small"
|
||||
@click="displayGalleryUpload"
|
||||
:icon="Upload"
|
||||
:disabled="!currentUser.$isVRCPlus || isUploading">
|
||||
:disabled="!isLocalUserVrcPlusSupporter || isUploading">
|
||||
{{ t('dialog.gallery_icons.upload') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
@@ -115,7 +115,7 @@
|
||||
size="small"
|
||||
@click="displayVRCPlusIconUpload"
|
||||
:icon="Upload"
|
||||
:disabled="!currentUser.$isVRCPlus || isUploading">
|
||||
:disabled="!isLocalUserVrcPlusSupporter || isUploading">
|
||||
{{ t('dialog.gallery_icons.upload') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
@@ -190,7 +190,7 @@
|
||||
size="small"
|
||||
@click="displayEmojiUpload"
|
||||
:icon="Upload"
|
||||
:disabled="!currentUser.$isVRCPlus || isUploading">
|
||||
:disabled="!isLocalUserVrcPlusSupporter || isUploading">
|
||||
{{ t('dialog.gallery_icons.upload') }}
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
@@ -338,7 +338,7 @@
|
||||
size="small"
|
||||
@click="displayStickerUpload"
|
||||
:icon="Upload"
|
||||
:disabled="!currentUser.$isVRCPlus || isUploading">
|
||||
:disabled="!isLocalUserVrcPlusSupporter || isUploading">
|
||||
{{ t('dialog.gallery_icons.upload') }}
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
@@ -405,7 +405,7 @@
|
||||
size="small"
|
||||
@click="displayPrintUpload"
|
||||
:icon="Upload"
|
||||
:disabled="!currentUser.$isVRCPlus || isUploading">
|
||||
:disabled="!isLocalUserVrcPlusSupporter || isUploading">
|
||||
{{ t('dialog.gallery_icons.upload') }}
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
@@ -588,7 +588,7 @@
|
||||
|
||||
const { currentUserInventory } = storeToRefs(useAdvancedSettingsStore());
|
||||
const { showFullscreenImageDialog } = useGalleryStore();
|
||||
const { currentUser } = storeToRefs(useUserStore());
|
||||
const { currentUser, isLocalUserVrcPlusSupporter } = storeToRefs(useUserStore());
|
||||
const { cachedConfig } = storeToRefs(useAuthStore());
|
||||
|
||||
const emojiAnimFps = ref(15);
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
>{{ t('dialog.screenshot_metadata.open_folder') }}</el-button
|
||||
>
|
||||
<el-button
|
||||
v-if="currentUser.$isVRCPlus && screenshotMetadataDialog.metadata.filePath"
|
||||
v-if="isLocalUserVrcPlusSupporter && screenshotMetadataDialog.metadata.filePath"
|
||||
size="small"
|
||||
:icon="Upload"
|
||||
@click="uploadScreenshotToGallery"
|
||||
@@ -167,7 +167,7 @@
|
||||
|
||||
const { showFullscreenImageDialog, handleGalleryImageAdd } = useGalleryStore();
|
||||
const { currentlyDroppingFile } = storeToRefs(useVrcxStore());
|
||||
const { currentUser } = storeToRefs(useUserStore());
|
||||
const { isLocalUserVrcPlusSupporter } = storeToRefs(useUserStore());
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user