not being able to translate titles fixed
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
f5759f131b
commit
cb78a6da65
|
@ -13,7 +13,7 @@ export function directive($http, $compile, vnApp, $translate) {
|
|||
headerList.forEach(header => {
|
||||
let id = header.getAttribute('th-id') || header.getAttribute('field');
|
||||
ids.push(id);
|
||||
titles[id] = header.innerText || id;
|
||||
titles[id] = header.innerText || id.charAt(0).toUpperCase() + id.slice(1);
|
||||
});
|
||||
|
||||
$scope.fields = ids;
|
||||
|
|
Loading…
Reference in New Issue