From 161d571b32f9ff0b20ce7060ea8fc1e1c475fda1 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Sun, 14 Apr 2019 03:35:23 +0000 Subject: [webapp/groups] fix tabslider incorrect length when tab name changes --- webapp/src/components/GroupModule.vue | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'webapp') diff --git a/webapp/src/components/GroupModule.vue b/webapp/src/components/GroupModule.vue index a030d8a..2c7a399 100644 --- a/webapp/src/components/GroupModule.vue +++ b/webapp/src/components/GroupModule.vue @@ -64,9 +64,15 @@ export default { ...mapState('groups', ['tabChain', 'activeTab', 'groupList', 'clientList']), reloading () { return this.tabChain.some(tab => tab.loading) + }, + activeTabName () { + return this.tabChain[this.activeTab].name } }, watch: { + activeTabName () { + window.dispatchEvent(new Event('resize')) + }, activeTab (index) { this.updateUrl() }, -- cgit v1.2.3-55-g7522