From 942029d1080e2d53c6eb1348534613a9663661f6 Mon Sep 17 00:00:00 2001 From: Valery Kovalev Date: Tue, 4 May 2021 14:57:03 +0300 Subject: [PATCH] #85773 setup section tabs order fixed --- src/nginxconfig/templates/setup.vue | 4 ++-- src/nginxconfig/templates/setup_sections/index.js | 15 +++++++++++---- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/nginxconfig/templates/setup.vue b/src/nginxconfig/templates/setup.vue index e2806a8..c29238d 100644 --- a/src/nginxconfig/templates/setup.vue +++ b/src/nginxconfig/templates/setup.vue @@ -67,9 +67,9 @@ THE SOFTWARE. import Tar from 'memory-tar-create'; import ClipboardJS from 'clipboard'; import analytics from '../util/analytics'; - import * as Sections from './setup_sections'; + import Sections from './setup_sections'; - const tabs = Object.values(Sections); + const tabs = Sections; export default { name: 'Setup', diff --git a/src/nginxconfig/templates/setup_sections/index.js b/src/nginxconfig/templates/setup_sections/index.js index c441075..bb60284 100644 --- a/src/nginxconfig/templates/setup_sections/index.js +++ b/src/nginxconfig/templates/setup_sections/index.js @@ -24,7 +24,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -export { default as Download } from './download'; -export { default as SSL } from './ssl'; -export { default as Certbot } from './certbot'; -export { default as GoLive } from './go_live'; +import Download from './download'; +import SSL from './ssl'; +import Certbot from './certbot'; +import GoLive from './go_live'; + +export default [ + Download, + SSL, + Certbot, + GoLive, +];