mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 06:28:42 +01:00
Fixes title to use visible containers
This commit is contained in:
@@ -76,7 +76,7 @@ export default {
|
||||
},
|
||||
async created() {
|
||||
await this.fetchContainerList();
|
||||
this.title = `${this.containers.length} containers`;
|
||||
this.title = `${this.visibleContainers.length} containers`;
|
||||
},
|
||||
mounted() {
|
||||
if (this.hasSmallerScrollbars) {
|
||||
@@ -94,7 +94,8 @@ export default {
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
...mapState(["containers", "activeContainers", "isMobile", "settings"]),
|
||||
...mapState(["activeContainers", "isMobile", "settings"]),
|
||||
...mapGetters(["visibleContainers"]),
|
||||
hasSmallerScrollbars() {
|
||||
return this.settings.smallerScrollbars;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user