mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Iu/add favorites type colors (#1645)
* fix: correct visibility dropdown keys and add en translations * add pt translations * add visibility color classes for avatar groups * add visibility color classes for favorite groups * Remove leftover commented import from my local testing --------- Co-authored-by: pa <maplenagisa@gmail.com>
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
>
|
||||
</div>
|
||||
<div class="group-item__bottom">
|
||||
<Badge :variant="getBadgeVariant(group.visibility)">
|
||||
<Badge variant="outline">
|
||||
{{ t(`view.favorite.visibility.${group.visibility}`) }}
|
||||
</Badge>
|
||||
<DropdownMenu
|
||||
@@ -578,7 +578,11 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
const worldGroupVisibilityColors = {
|
||||
public: 'text-green-500 border-green-500',
|
||||
friends: 'text-cyan-500 border-cyan-500',
|
||||
private: 'text-red-500 border-red-500'
|
||||
};
|
||||
const worldGroupVisibilityOptions = ref(['public', 'friends', 'private']);
|
||||
const worldSplitterSize = ref(260);
|
||||
const worldSplitterFallbackWidth = typeof window !== 'undefined' && window.innerWidth ? window.innerWidth : 1200;
|
||||
|
||||
Reference in New Issue
Block a user