not being able to translate titles fixed
gitea/salix/dev This commit looks good Details

This commit is contained in:
Gerard 2019-02-18 11:35:16 +01:00
parent f5759f131b
commit cb78a6da65
1 changed files with 1 additions and 1 deletions

View File

@ -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;