Fix bulk unfriend and entering YouTube API key

This commit is contained in:
Natsumi
2025-10-28 15:49:01 +11:00
parent 58c5082a7b
commit 5c9de1adba
4 changed files with 15 additions and 10 deletions
+7 -5
View File
@@ -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();
}
+1 -1
View File
@@ -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;
}