Ver código fonte

Indicator based on workflow state

version-14
Nabin Hait 8 anos atrás
pai
commit
0d8528486b
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      frappe/public/js/frappe/model/indicator.js

+ 1
- 1
frappe/public/js/frappe/model/indicator.js Ver arquivo

@@ -30,7 +30,7 @@ frappe.get_indicator = function(doc, doctype) {
if(value) {
var colour = "";
if(in_list(locals["Workflow State"], value) && locals["Workflow State"][value].style) {
if(locals["Workflow State"][value] && locals["Workflow State"][value].style) {
var colour = {
"Success": "green",
"Warning": "orange",


Carregando…
Cancelar
Salvar