diff --git a/src/localization/en/en.json b/src/localization/en/en.json index 255ffc79..40d6d7b7 100644 --- a/src/localization/en/en.json +++ b/src/localization/en/en.json @@ -775,7 +775,7 @@ "previous_display_names": "Previous Display Names:", "pronouns": "Pronouns", "tags": { - "friend_number": "Friend number", + "friend_number": "Friend Number", "vrchat_team": "VRChat Team", "18_plus_verified": "18+ Verified", "age_verified": "Age Verified" diff --git a/src/plugin/router.js b/src/plugin/router.js index 29ad0e6e..76f28e86 100644 --- a/src/plugin/router.js +++ b/src/plugin/router.js @@ -21,16 +21,16 @@ const routes = [ name: 'friendLocation', component: FriendLocation }, - { path: '/game-log', name: 'gameLog', component: GameLog }, - { path: '/player-list', name: 'playerList', component: PlayerList }, + { path: '/game-log', name: 'game-log', component: GameLog }, + { path: '/player-list', name: 'player-list', component: PlayerList }, { path: '/search', name: 'search', component: Search }, { path: '/favorites', name: 'favorites', component: Favorites }, - { path: '/friend-log', name: 'friendLog', component: FriendLog }, + { path: '/friend-log', name: 'friend-log', component: FriendLog }, { path: '/moderation', name: 'moderation', component: Moderation }, { path: '/notification', name: 'notification', component: Notification }, { path: '/friend-list', - name: 'friendList', + name: 'friend-list', component: FriendList }, { diff --git a/src/stores/friend.js b/src/stores/friend.js index 9f56b205..9daf655a 100644 --- a/src/stores/friend.js +++ b/src/stores/friend.js @@ -979,7 +979,7 @@ export const useFriendStore = defineStore('Friend', () => { }; friendLog.set(id, friendLogCurrent); database.setFriendLogCurrent(friendLogCurrent); - uiStore.notifyMenu('friendLog'); + uiStore.notifyMenu('friend-log'); deleteFriendRequest(id); sharedFeedStore.updateSharedFeed(true); userRequest @@ -1048,7 +1048,7 @@ export const useFriendStore = defineStore('Friend', () => { friendLog.delete(id); database.deleteFriendLogCurrent(id); if (!appearanceSettingsStore.hideUnfriends) { - uiStore.notifyMenu('friendLog'); + uiStore.notifyMenu('friend-log'); } sharedFeedStore.updateSharedFeed(true); deleteFriend(id); @@ -1116,7 +1116,7 @@ export const useFriendStore = defineStore('Friend', () => { friendLog.set(ref.id, friendLogCurrent); database.setFriendLogCurrent(friendLogCurrent); ctx.displayName = ref.displayName; - uiStore.notifyMenu('friendLog'); + uiStore.notifyMenu('friend-log'); sharedFeedStore.updateSharedFeed(true); } } @@ -1161,7 +1161,7 @@ export const useFriendStore = defineStore('Friend', () => { }; friendLog.set(ref.id, friendLogCurrent2); database.setFriendLogCurrent(friendLogCurrent2); - uiStore.notifyMenu('friendLog'); + uiStore.notifyMenu('friend-log'); sharedFeedStore.updateSharedFeed(true); } ctx.trustLevel = ref.$trustLevel; diff --git a/src/stores/gameLog.js b/src/stores/gameLog.js index b159b2e1..fc1b5c71 100644 --- a/src/stores/gameLog.js +++ b/src/stores/gameLog.js @@ -398,7 +398,7 @@ export const useGameLogStore = defineStore('GameLog', () => { } gameLogTable.value.data.push(entry); sweepGameLog(); - uiStore.notifyMenu('gameLog'); + uiStore.notifyMenu('game-log'); } async function addGamelogLocationToDatabase(input) { diff --git a/src/stores/ui.js b/src/stores/ui.js index 1a5e1f9a..aa47d036 100644 --- a/src/stores/ui.js +++ b/src/stores/ui.js @@ -66,7 +66,7 @@ export const useUiStore = defineStore('Ui', () => { function updateTrayIconNotify(force = false) { const newState = notifiedMenus.value.includes('notification') || - notifiedMenus.value.includes('friendLog'); + notifiedMenus.value.includes('friend-log'); if (trayIconNotify.value !== newState || force) { trayIconNotify.value = newState;