-
-
- {{ showAllLibraryStats ? currentLibraryName : 'Show all Libraries' }}
+
@@ -164,9 +162,6 @@ export default {
currentLibraryId() {
return this.$store.state.libraries.currentLibraryId
},
- currentLibraryName() {
- return this.$store.getters['libraries/getCurrentLibraryName']
- },
currentLibraryMediaType() {
return this.$store.getters['libraries/getCurrentLibraryMediaType']
},
@@ -191,8 +186,8 @@ export default {
})
}
},
- toggleStats() {
- this.showAllLibraryStats = !this.showAllLibraryStats;
+ toggleStats(value) {
+ this.showAllLibraryStats = value;
this.$nextTick(() => {
this.init();
});