@@ -56,7 +56,7 @@
if (event.which == 13) b(); return false;
}
},
- readyL function () {
+ ready: function () {
let _this = this;
auth.getStatus((authenticated, role, username, userId) => {
_this.socket = window.socket;
@@ -205,8 +205,10 @@
// });
- ready() {
- console.log(this.$parent.currentSong)
+ events: {
+ closeModal: function () {
+ this.$parent.toggleModal('report');
+ }
</script>
@@ -124,6 +124,7 @@
else if (type == 'editPlaylist') this.modals.editPlaylist = !this.modals.editPlaylist;
else if (type == 'createPlaylist') this.modals.createPlaylist = !this.modals.createPlaylist;
else if (type == 'editStation') this.modals.editStation = !this.modals.editStation;
+ else if (type == 'report') this.modals.report = !this.modals.report;
youtubeReady: function() {
let local = this;