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" />
|
||||
<FormKit
|
||||
v-else
|
||||
@click="toggleMyMusic"
|
||||
v-model="isUserMusic"
|
||||
type="toggle"
|
||||
label="Включить мою музыку"
|
||||
|
|
@ -441,5 +442,10 @@ export default {
|
|||
if (!paddedSeconds) paddedSeconds = '00';
|
||||
return `${paddedMinutes}:${paddedSeconds}`;
|
||||
},
|
||||
toggleMyMusic() {
|
||||
console.log('toggleMyMusic');
|
||||
if (this.user.id) return;
|
||||
this.$store.dispatch('setModal', { auth: true });
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue