@fto-consult/expo-ui 2.18.5 → 2.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1151,7 +1151,7 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
|
1151
1151
|
sortedColumn.header = header;
|
|
1152
1152
|
sortedColumn.label = restCol.label;
|
|
1153
1153
|
const isDesc = currentSortedColumn.dir === "desc";
|
|
1154
|
-
const prefix = (sortType =='number' || sortType == 'decimal') ? "numeric" : sortType =='boolean'?'bool' : sortType
|
|
1154
|
+
const prefix = (sortType =='number' || sortType == 'decimal') ? "numeric" : sortType =='boolean'?'bool' : sortType.contains('date') ? 'calendar': sortType =='time'? 'clock' : 'alphabetical';
|
|
1155
1155
|
sortedColumn.icon = 'sort-'+prefix+'-'+(isDesc ? "descending" : "ascending");
|
|
1156
1156
|
sortedColumn.title = (isDesc ? "Trié par ordre décroissant":"Trié par ordre croissant ")+ " du champ ["+restCol.label+"]";
|
|
1157
1157
|
}
|