mirror of
https://github.com/frappe/books.git
synced 2025-01-23 07:08:36 +00:00
Replace color values with constants
This commit is contained in:
parent
671b884f5c
commit
cb13d0d5c1
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user