diff --git a/src/components/Configuration/ConfigContainer.vue b/src/components/Configuration/ConfigContainer.vue index f33151ab..7548ba7d 100644 --- a/src/components/Configuration/ConfigContainer.vue +++ b/src/components/Configuration/ConfigContainer.vue @@ -9,11 +9,11 @@ Download Config - - @@ -119,18 +119,10 @@ export default { IconAbout, }, methods: { - /* Seletcs the edit tab of the tab view */ - goToEdit() { - const itemToSelect = this.$refs.tabView.navItems[2]; - this.$refs.tabView.activeTabItem({ tabItem: itemToSelect, byUser: true }); - }, - goToMetaEdit() { - const itemToSelect = this.$refs.tabView.navItems[3]; - this.$refs.tabView.activeTabItem({ tabItem: itemToSelect, byUser: true }); - }, - goToCustomCss() { - const itemToSelect = this.$refs.tabView.navItems[3]; - this.$refs.tabView.activeTabItem({ tabItem: itemToSelect, byUser: true }); + /* Progamatically navigates to a given tab by index */ + navigateToTab(tabInxex) { + const itemToSelect = this.$refs.tabView.navItems[tabInxex]; + this.$refs.tabView.activeTabItem(itemToSelect); }, openRebuildAppModal() { this.$modal.show(modalNames.REBUILD_APP); @@ -237,7 +229,7 @@ div.code-container { } .yaml-action-buttons { position: absolute; - top: 0.5rem; + top: 1.5rem; right: 0.5rem; display: flex; flex-direction: column; @@ -334,35 +326,50 @@ p.small-screen-note {