1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

Work in progress to show live stats (#671)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
This commit is contained in:
Amir Raminfar
2020-09-06 15:32:27 -07:00
committed by GitHub
parent b7af2b7826
commit 220722deaa
28 changed files with 361 additions and 128 deletions

View File

@@ -59,8 +59,13 @@ export default {
return {};
},
computed: {
...mapState(["activeContainers"]),
...mapGetters(["activeContainersById", "visibleContainers"]),
...mapGetters(["visibleContainers", "activeContainers"]),
activeContainersById() {
return this.activeContainers.reduce((map, obj) => {
map[obj.id] = obj;
return map;
}, {});
},
},
methods: {
...mapActions({