moved onEnter to mounted

This commit is contained in:
booploops 2022-04-11 13:40:05 -07:00
parent 74c42ede84
commit 8616f42978
6 changed files with 22 additions and 5 deletions

View file

@ -42,5 +42,8 @@
app: this.$root
}
},
mounted() {
this.$root.getBrowsePage();
}
})
</script>

View file

@ -71,6 +71,13 @@
app : this.$root
}
},
mounted() {
this.$root.getLibraryAlbumsFull(null, 1);
this.$root.getAlbumSort();
this.$root.searchLibraryAlbums(1);
this.$root.getLibrarySongsFull() ;
this.$root.searchLibraryAlbums(1);
},
methods: {
}
});

View file

@ -63,6 +63,7 @@
},
mounted() {
let self = this;
this.$root.getLibraryArtistsFull(null, 0);
this.$root.$on('ap-inlinecollection', function(e){
console.log("hey",e)
self.clready = true;

View file

@ -80,6 +80,9 @@
app : this.$root
}
},
mounted() {
this.$root.getLibrarySongsFull()
},
methods: {
sayHello: function () {
alert('Hello world!');

View file

@ -15,6 +15,9 @@ Vue.component('cider-listen-now', {
return {
app : this.$root
}
},
mounted() {
this.$root.getListenNow()
}
})
</script>