mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 21:36:06 +02:00
use action from store instead of directly modifying state in components
This commit is contained in:
@@ -1980,6 +1980,13 @@ export const useUserStore = defineStore('User', () => {
|
||||
userDialog.value.memo = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
*/
|
||||
function setCurrentUserColour(value) {
|
||||
currentUser.value.$userColour = value;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@@ -2026,6 +2033,7 @@ export const useUserStore = defineStore('User', () => {
|
||||
handleConfig,
|
||||
showSendBoopDialog,
|
||||
setUserDialogMemo,
|
||||
setCurrentUserColour,
|
||||
checkNote,
|
||||
toggleSharedConnectionsOptOut,
|
||||
toggleDiscordFriendsOptOut
|
||||
|
||||
Reference in New Issue
Block a user