remove for offline content

- added translateion for logout
- destroy offline strorage with player
This commit is contained in:
Shiny Nematoda 2023-10-08 06:50:38 +00:00
parent ae016a731e
commit 98fb69e7d5
6 changed files with 42 additions and 24 deletions

View file

@ -87,7 +87,6 @@ const setProxy = async () => {
OpenOffline = async () => {
if (window.offline) {
const songs = await window.offline.list();
console.log();
results.resetItems();
results.setItem('songs', {
title: 'Hyp • ' + t('title.offline'),
@ -439,7 +438,7 @@ onMounted(async () => {
<AlbumItem
:name="t('title.offline')"
:grad="useRand()"
@open-album="OpenOffline()" />
@open-album="OpenOffline" />
<AlbumItem
v-for="i in list"
:key="i.name"
@ -489,7 +488,7 @@ onMounted(async () => {
</p>
</form>
<button v-if="auth" @click="Logout" class="logout textbox">Logout</button>
<button v-if="auth" @click="Logout" class="logout textbox">{{ t('title.logout') }}</button>
</div>
</template>