mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 05:26:05 +02:00
Random fixes
This commit is contained in:
@@ -170,7 +170,7 @@
|
||||
t(props.isLocalFavorite ? 'view.favorite.copy_tooltip' : 'view.favorite.move_tooltip')
|
||||
);
|
||||
const smallThumbnail = computed(
|
||||
() => localFavFakeRef.value.thumbnailImageUrl.replace('256', '128') || localFavFakeRef.value.thumbnailImageUrl
|
||||
() => localFavFakeRef.value.thumbnailImageUrl?.replace('256', '128') || localFavFakeRef.value.thumbnailImageUrl
|
||||
);
|
||||
const favoriteGroupName = computed(() => {
|
||||
if (typeof props.group === 'string') {
|
||||
|
||||
@@ -68,6 +68,6 @@
|
||||
defineEmits(['click']);
|
||||
|
||||
const smallThumbnail = computed(() => {
|
||||
return props.favorite.thumbnailImageUrl.replace('256', '128') || props.favorite.thumbnailImageUrl;
|
||||
return props.favorite.thumbnailImageUrl?.replace('256', '128') || props.favorite.thumbnailImageUrl;
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
);
|
||||
|
||||
const smallThumbnail = computed(() => {
|
||||
const url = localFavFakeRef.value.thumbnailImageUrl.replace('256', '128');
|
||||
const url = localFavFakeRef.value.thumbnailImageUrl?.replace('256', '128');
|
||||
return url || localFavFakeRef.value.thumbnailImageUrl;
|
||||
});
|
||||
|
||||
|
||||
@@ -670,7 +670,7 @@
|
||||
}
|
||||
|
||||
function setProfilePicOverride(fileId) {
|
||||
if (!currentUser.value.$isVRCPlus) {
|
||||
if (!isLocalUserVrcPlusSupporter.value) {
|
||||
ElMessage({
|
||||
message: 'VRCPlus required',
|
||||
type: 'error'
|
||||
@@ -773,7 +773,7 @@
|
||||
}
|
||||
|
||||
function setVRCPlusIcon(fileId) {
|
||||
if (!currentUser.value.$isVRCPlus) {
|
||||
if (!isLocalUserVrcPlusSupporter.value) {
|
||||
ElMessage({
|
||||
message: 'VRCPlus required',
|
||||
type: 'error'
|
||||
|
||||
Reference in New Issue
Block a user