mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-25 01:33:51 +02:00
use action from store instead of directly modifying state in components
This commit is contained in:
@@ -1973,6 +1973,13 @@ export const useUserStore = defineStore('User', () => {
|
||||
sendBoopDialog.value.visible = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
*/
|
||||
function setUserDialogMemo(value) {
|
||||
userDialog.value.memo = value;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@@ -2018,6 +2025,7 @@ export const useUserStore = defineStore('User', () => {
|
||||
getCurrentUser,
|
||||
handleConfig,
|
||||
showSendBoopDialog,
|
||||
setUserDialogMemo,
|
||||
checkNote,
|
||||
toggleSharedConnectionsOptOut,
|
||||
toggleDiscordFriendsOptOut
|
||||
|
||||
Reference in New Issue
Block a user