From 8d0a86ee80b22262dfa0476994685e225765ecfa Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 6 Jul 2021 19:19:59 +0000 Subject: [PATCH 1/3] fix: upgrade vue-material-tabs from 0.0.7 to 0.1.2 Snyk has created this PR to upgrade vue-material-tabs from 0.0.7 to 0.1.2. See this package in npm: See this project in Snyk: https://app.snyk.io/org/lissy93/project/564ca11b-8665-48b8-befa-ccd607c3e09a?utm_source=github&utm_medium=upgrade-pr --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index dafeeaf2..7566b5a1 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "vue": "^2.6.10", "vue-cli-plugin-yaml": "^1.0.2", "vue-js-modal": "^2.0.0-rc.6", - "vue-material-tabs": "^0.0.7", + "vue-material-tabs": "^0.1.2", "vue-prism-editor": "^1.2.2", "vue-router": "^3.0.3", "vue-select": "^3.11.2", diff --git a/yarn.lock b/yarn.lock index 855f9927..10498b35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8899,10 +8899,10 @@ vue-loader@^15.9.2: vue-hot-reload-api "^2.3.0" vue-style-loader "^4.1.0" -vue-material-tabs@^0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/vue-material-tabs/-/vue-material-tabs-0.0.7.tgz#5f3fa04ad35384af68582f7c89ad4cecac89207b" - integrity sha512-02X5paTksYKrGvSRpMdkctRO9qhvJFD5VEGxd0xjOX4sYz6mZSAez0Z/+aYf7Z5ziY+eJ9dMQmxaLn9DVKQRJw== +vue-material-tabs@^0.1.2: + version "0.1.5" + resolved "https://registry.yarnpkg.com/vue-material-tabs/-/vue-material-tabs-0.1.5.tgz#255fc0beb27c005eaae61c1534d782a94c30c525" + integrity sha512-ZLFRCxaCS3TM8IwnxQA4S2CVj+tBaILb8fQZDg+Ix+9Zu+k16udrdhLU2GWvJEVPLspuCzKhCEXW4cIg59YkVw== vue-prism-editor@^1.2.2: version "1.2.2" From 094f8589dbf059a7cecdc46e9a1299735c001e51 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 8 Jul 2021 21:30:37 +0100 Subject: [PATCH 2/3] :bug: Fixes bugs caused by the upgrade of vue-material-tabs --- .../Configuration/ConfigContainer.vue | 55 +++++++++++-------- 1 file changed, 31 insertions(+), 24 deletions(-) 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 { From 0fff5b312244e1582296d5798d62f6e96b054ad9 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 8 Jul 2021 21:31:31 +0100 Subject: [PATCH 3/3] :bookmark: Bumps to version 1.3.8 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7566b5a1..efaed92b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Dashy", - "version": "1.3.7", + "version": "1.3.8", "license": "MIT", "main": "server", "scripts": {