mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
17 lines
323 B
JavaScript
17 lines
323 B
JavaScript
const _i18n = (t) => i18n(t);
|
|
|
|
function wrap_datatable_columns_config(datatable_columns) {
|
|
return function (col) {
|
|
let name = _i18n(col.name);
|
|
if (name == null || name == "") {
|
|
return "Test";
|
|
}
|
|
return `${name}`;
|
|
}
|
|
}
|
|
|
|
const table_utils = {
|
|
wrap_datatable_columns_config,
|
|
};
|
|
|
|
export default table_utils;
|