mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 12:48:01 +02:00
closes #136
This commit is contained in:
parent
9ff5d5f981
commit
d1292aea7c
4 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"date": "2023-07-25"
|
||||
"date": "2023-07-29"
|
||||
}
|
||||
|
|
|
@ -22,7 +22,11 @@ defineEmits(['open-album']);
|
|||
</script>
|
||||
|
||||
<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="" />
|
||||
|
||||
<div class="card-text">
|
||||
|
|
|
@ -53,8 +53,8 @@ async function Like() {
|
|||
|
||||
const remote = await getAuthPlaylists();
|
||||
|
||||
let fav = remote.find(i => i.name == 'Playlist - Favorites');
|
||||
|
||||
let fav = remote.find(i => i.name == 'Playlist - Favorites');
|
||||
|
||||
if (!fav) {
|
||||
const { playlistId } = await useAuthCreatePlaylist('Favorites');
|
||||
|
||||
|
|
|
@ -140,6 +140,7 @@ export const useI18n = defineStore('i18n', () => {
|
|||
.then(mod => {
|
||||
map.value[code] = mod;
|
||||
locale.value = code;
|
||||
localStorage.locale ??= code;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue