From cb13d0d5c1de13baa7efcd979b952bcf665df89d Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 9 Jul 2018 20:26:36 +0530 Subject: [PATCH] Replace color values with constants --- src/pages/SetupWizard/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/SetupWizard/index.vue b/src/pages/SetupWizard/index.vue index 11e826b0..d724cb0a 100644 --- a/src/pages/SetupWizard/index.vue +++ b/src/pages/SetupWizard/index.vue @@ -36,6 +36,7 @@ import frappe from 'frappejs'; import Observable from 'frappejs/utils/observable'; import FormLayout from 'frappejs/ui/components/Form/FormLayout'; +import indicatorColor from 'frappejs/ui/constants/indicators'; import setupConfig from './config'; export default { @@ -84,7 +85,7 @@ export default { this.currentSection -= 1; }, indicatorColor(i) { - return i === this.currentSection ? 'blue' : ''; + return i === this.currentSection ? indicatorColor.BLUE : ''; } }, computed: {