|
|
@ -162,7 +162,7 @@ const Property = Backbone.Model.extend( |
|
|
getFullValue(val) { |
|
|
getFullValue(val) { |
|
|
const fn = this.get('functionName'); |
|
|
const fn = this.get('functionName'); |
|
|
let value = isUndefined(val) ? this.get('value') : val; |
|
|
let value = isUndefined(val) ? this.get('value') : val; |
|
|
const hasValue = !isUndefined(value); |
|
|
const hasValue = !isUndefined(value) && value !== ''; |
|
|
|
|
|
|
|
|
if (fn && hasValue) { |
|
|
if (fn && hasValue) { |
|
|
value = `${fn}(${value})`; |
|
|
value = `${fn}(${value})`; |
|
|
|