Add:All listening sessions config page

This commit is contained in:
advplyr committed 2022-06-04 12:44:42 -05:00
1 parent 2d5e4ebcf0
commit 5cd343cb01
7 files changed
+261 -13

No files matched your search

+3 -1
View File
@@ -42,7 +42,8 @@ export default {
editable: {
type: Boolean,
default: true
}
},
showAllWhenEmpty: Boolean
},
data() {
return {
@@ -72,6 +73,7 @@ export default {
itemsToShow() {
if (!this.editable) return this.items
if (!this.textInput || this.textInput === this.input) {
if (this.showAllWhenEmpty) return this.items
return []
}
return this.items.filter((i) => {