mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 21:36:06 +02:00
Fix bulk unfriend and entering YouTube API key
This commit is contained in:
@@ -1399,11 +1399,13 @@ export const useGameLogStore = defineStore('GameLog', () => {
|
||||
confirmButtonText: 'Confirm',
|
||||
cancelButtonText: 'Cancel',
|
||||
type: 'info'
|
||||
}).then(({ action }) => {
|
||||
if (action === 'confirm') {
|
||||
advancedSettingsStore.setGameLogDisabled();
|
||||
}
|
||||
});
|
||||
})
|
||||
.then(({ action }) => {
|
||||
if (action === 'confirm') {
|
||||
advancedSettingsStore.setGameLogDisabled();
|
||||
}
|
||||
})
|
||||
.catch(() => {});
|
||||
} else {
|
||||
advancedSettingsStore.setGameLogDisabled();
|
||||
}
|
||||
|
||||
@@ -549,7 +549,7 @@ export const useAdvancedSettingsStore = defineStore('AdvancedSettings', () => {
|
||||
* @param {string} videoId
|
||||
*/
|
||||
async function lookupYouTubeVideo(videoId) {
|
||||
if (!youTubeApi.value) {
|
||||
if (!youTubeApiKey.value) {
|
||||
console.warn('no Youtube API key configured');
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user