summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorUdo Walter2019-04-14 05:35:23 +0200
committerUdo Walter2019-04-14 05:35:23 +0200
commit161d571b32f9ff0b20ce7060ea8fc1e1c475fda1 (patch)
treea6b3bd7fffc1c4b7dfa37e109c97c5fbd8f99de0 /webapp
parent[server/external-backends] Add delete method for the infoblox backend & add i... (diff)
downloadbas-161d571b32f9ff0b20ce7060ea8fc1e1c475fda1.tar.gz
bas-161d571b32f9ff0b20ce7060ea8fc1e1c475fda1.tar.xz
bas-161d571b32f9ff0b20ce7060ea8fc1e1c475fda1.zip
[webapp/groups] fix tabslider incorrect length when tab name changes
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/components/GroupModule.vue6
1 files changed, 6 insertions, 0 deletions
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()
},