From 94dbe57000e3b55aaaa4972f614f8bbd3373357d Mon Sep 17 00:00:00 2001 From: Collin Brown Date: Thu, 10 Sep 2020 15:30:27 -0400 Subject: [PATCH] Hotfix Moving components above data in pages/projects/_id/guideline/index.vue --- frontend/pages/projects/_id/guideline/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/pages/projects/_id/guideline/index.vue b/frontend/pages/projects/_id/guideline/index.vue index ddd2c47a..3958d3e1 100644 --- a/frontend/pages/projects/_id/guideline/index.vue +++ b/frontend/pages/projects/_id/guideline/index.vue @@ -18,6 +18,9 @@ import '@/assets/style/editor.css' export default { layout: 'project', + components: { + Editor + }, data() { return { editorOptions: { @@ -25,10 +28,6 @@ export default { } } }, - components: { - Editor - }, - validate({ params }) { return /^\d+$/.test(params.id) },