chore: restored overwritten commits; fix: favorites tab not working
This commit is contained in:
parent
d5973c067b
commit
6bb68127b5
File diff suppressed because one or more lines are too long
@ -82,9 +82,8 @@
|
|||||||
>
|
>
|
||||||
<CoverContainer is-rounded :cover="release.cover_medium" :link="release.link" @click.stop="addToQueue" />
|
<CoverContainer is-rounded :cover="release.cover_medium" :link="release.link" @click.stop="addToQueue" />
|
||||||
<p class="primary-text">{{ release.title }}</p>
|
<p class="primary-text">{{ release.title }}</p>
|
||||||
|
<p class="secondary-text">{{ `${$t('globals.by', { artist: release.artist.name })}` }}</p>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<p class="secondary-text">{{ `${$t('globals.by', { artist: release.artist.name })}` }}</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -722,6 +722,10 @@ export default {
|
|||||||
set(wantSlimSidebar) {
|
set(wantSlimSidebar) {
|
||||||
this.slimSidebar = wantSlimSidebar
|
this.slimSidebar = wantSlimSidebar
|
||||||
document.getElementById('sidebar').classList.toggle('slim', wantSlimSidebar)
|
document.getElementById('sidebar').classList.toggle('slim', wantSlimSidebar)
|
||||||
|
// Moves all toast messages when the option changes
|
||||||
|
Array.from(document.getElementsByClassName('toastify')).forEach((toast)=>{
|
||||||
|
toast.style.transform = `translate(${wantSlimSidebar ? '3rem' : '14rem'}, 0)`;
|
||||||
|
})
|
||||||
localStorage.setItem('slimSidebar', wantSlimSidebar)
|
localStorage.setItem('slimSidebar', wantSlimSidebar)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -212,7 +212,8 @@ const fr = {
|
|||||||
},
|
},
|
||||||
appearance: {
|
appearance: {
|
||||||
title: 'Apparence',
|
title: 'Apparence',
|
||||||
slimDownloadTab: 'Onglet de téléchargement compact'
|
slimDownloadTab: 'Onglet de téléchargement compact',
|
||||||
|
slimSidebar: 'Barre latérale compacte'
|
||||||
},
|
},
|
||||||
downloadPath: {
|
downloadPath: {
|
||||||
title: 'Emplacement De Téléchargement'
|
title: 'Emplacement De Téléchargement'
|
||||||
@ -315,7 +316,8 @@ const fr = {
|
|||||||
syncedLyrics: 'Paroles Synchronisées',
|
syncedLyrics: 'Paroles Synchronisées',
|
||||||
copyright: "Droits d'Auteur (Copyright)",
|
copyright: "Droits d'Auteur (Copyright)",
|
||||||
composer: 'Compositeur',
|
composer: 'Compositeur',
|
||||||
involvedPeople: 'Personnes Impliquées'
|
involvedPeople: 'Personnes Impliquées',
|
||||||
|
source: 'ID de la source et de la piste'
|
||||||
},
|
},
|
||||||
other: {
|
other: {
|
||||||
title: 'Autre',
|
title: 'Autre',
|
||||||
|
@ -26,7 +26,6 @@ const it = {
|
|||||||
single: 'singolo | singoli',
|
single: 'singolo | singoli',
|
||||||
title: 'titolo | titoli',
|
title: 'titolo | titoli',
|
||||||
track: 'brano | brani',
|
track: 'brano | brani',
|
||||||
trackN: '0 brani | {n} brano | {n} brani',
|
|
||||||
releaseN: '0 dischi | {n} disco | {n} dischi',
|
releaseN: '0 dischi | {n} disco | {n} dischi',
|
||||||
playlist: 'playlist',
|
playlist: 'playlist',
|
||||||
compile: 'compilation',
|
compile: 'compilation',
|
||||||
@ -37,7 +36,11 @@ const it = {
|
|||||||
spotifyPlaylist: 'playlist spotify',
|
spotifyPlaylist: 'playlist spotify',
|
||||||
releaseDate: 'data di uscita',
|
releaseDate: 'data di uscita',
|
||||||
error: 'errore',
|
error: 'errore',
|
||||||
empty: ''
|
empty: '',
|
||||||
|
trackN: '0 brani | {n} brano | {n} brani',
|
||||||
|
albumN: '{n} album',
|
||||||
|
artistN: '0 artisti | {n} artista | {n} artisti',
|
||||||
|
playlistN: '{n} playlist'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
|
@ -6,10 +6,7 @@ import { socket } from '@/utils/socket'
|
|||||||
|
|
||||||
const sharedOptions = {
|
const sharedOptions = {
|
||||||
gravity: 'bottom',
|
gravity: 'bottom',
|
||||||
position: 'left',
|
position: 'left'
|
||||||
offset: {
|
|
||||||
x: '14rem'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let toastsWithId = {}
|
let toastsWithId = {}
|
||||||
@ -87,6 +84,9 @@ export const toast = function(msg, icon = null, dismiss = true, id = null) {
|
|||||||
delete toastsWithId[id]
|
delete toastsWithId[id]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
offset: {
|
||||||
|
x: 'true' === localStorage.getItem('slimSidebar') ? '3rem': '14rem'
|
||||||
}
|
}
|
||||||
}).showToast()
|
}).showToast()
|
||||||
if (id) {
|
if (id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user