mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 08:20:12 +01:00
use nonidentity instead of inequality
This commit is contained in:
parent
37607f72b2
commit
880d94e220
2 changed files with 2 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ CardCustomField.register('cardCustomField');
|
||||||
return this.data().value
|
return this.data().value
|
||||||
.replace(/\r\n|\n\r|\n|\r/g, '\n')
|
.replace(/\r\n|\n\r|\n|\r/g, '\n')
|
||||||
.split('\n')
|
.split('\n')
|
||||||
.filter(value => value.trim() != '')
|
.filter(value => value.trim() !== '')
|
||||||
.map(value => this.stringtemplateFormat.replace(/%\{value\}/gi, value))
|
.map(value => this.stringtemplateFormat.replace(/%\{value\}/gi, value))
|
||||||
.join(' ');
|
.join(' ');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ BlazeComponent.extendComponent({
|
||||||
return customFieldTrueValue
|
return customFieldTrueValue
|
||||||
.replace(/\r\n|\n\r|\n|\r/g, '\n')
|
.replace(/\r\n|\n\r|\n|\r/g, '\n')
|
||||||
.split('\n')
|
.split('\n')
|
||||||
.filter(value => value.trim() != '')
|
.filter(value => value.trim() !== '')
|
||||||
.map(value => definition.settings.stringtemplateFormat.replace(/%\{value\}/gi, value))
|
.map(value => definition.settings.stringtemplateFormat.replace(/%\{value\}/gi, value))
|
||||||
.join(' ');
|
.join(' ');
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue