2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00

Replace color values with constants

This commit is contained in:
Faris Ansari 2018-07-09 20:26:36 +05:30
parent 671b884f5c
commit cb13d0d5c1

View File

@ -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: {