This commit is contained in:
rahul shukla 2019-04-30 13:25:17 +05:30
parent c635299861
commit 46da666ace
1 changed files with 9 additions and 1 deletions

View File

@ -634,8 +634,16 @@
obj.label = '';
for(colIndex in this.columns) {
if(this.columns[colIndex].index == obj.column) {
if (this.columns[colIndex].index == obj.column) {
obj.label = this.columns[colIndex].label;
if (this.columns[colIndex].type == 'boolean') {
if (obj.val == 1) {
obj.val = '{{ __('ui::app.datagrid.true') }}';
} else {
obj.val = '{{ __('ui::app.datagrid.false') }}';
}
}
}
}
}