This commit is contained in:
Shiny Nematoda 2023-07-29 11:17:21 +00:00
parent 9ff5d5f981
commit d1292aea7c
4 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,3 @@
{ {
"date": "2023-07-25" "date": "2023-07-29"
} }

View file

@ -22,7 +22,11 @@ defineEmits(['open-album']);
</script> </script>
<template> <template>
<div class="album card pop" @click="$emit('open-album')"> <div
class="album card pop"
tabindex="0"
@click="$emit('open-album')"
@keydown.enter="$emit('open-album')">
<img class="card-bg bg-img pop-2" :src="art" loading="lazy" alt="" /> <img class="card-bg bg-img pop-2" :src="art" loading="lazy" alt="" />
<div class="card-text"> <div class="card-text">

View file

@ -53,8 +53,8 @@ async function Like() {
const remote = await getAuthPlaylists(); const remote = await getAuthPlaylists();
let fav = remote.find(i => i.name == 'Playlist - Favorites'); let fav = remote.find(i => i.name == 'Playlist - Favorites');
if (!fav) { if (!fav) {
const { playlistId } = await useAuthCreatePlaylist('Favorites'); const { playlistId } = await useAuthCreatePlaylist('Favorites');

View file

@ -140,6 +140,7 @@ export const useI18n = defineStore('i18n', () => {
.then(mod => { .then(mod => {
map.value[code] = mod; map.value[code] = mod;
locale.value = code; locale.value = code;
localStorage.locale ??= code;
}); });
} }