Merge branch 'master' of git.flexites.org:Students/ITRadio
This commit is contained in:
commit
c90eb26dfe
|
|
@ -48,6 +48,7 @@
|
||||||
<q-skeleton v-if="loaderPlay" class="player__tools m--skeleton" />
|
<q-skeleton v-if="loaderPlay" class="player__tools m--skeleton" />
|
||||||
<FormKit
|
<FormKit
|
||||||
v-else
|
v-else
|
||||||
|
@click="toggleMyMusic"
|
||||||
v-model="isUserMusic"
|
v-model="isUserMusic"
|
||||||
type="toggle"
|
type="toggle"
|
||||||
label="Включить мою музыку"
|
label="Включить мою музыку"
|
||||||
|
|
@ -441,5 +442,10 @@ export default {
|
||||||
if (!paddedSeconds) paddedSeconds = '00';
|
if (!paddedSeconds) paddedSeconds = '00';
|
||||||
return `${paddedMinutes}:${paddedSeconds}`;
|
return `${paddedMinutes}:${paddedSeconds}`;
|
||||||
},
|
},
|
||||||
|
toggleMyMusic() {
|
||||||
|
console.log('toggleMyMusic');
|
||||||
|
if (this.user.id) return;
|
||||||
|
this.$store.dispatch('setModal', { auth: true });
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue