💄 Fix table columns alignment

This commit is contained in:
KaKi87 2020-06-07 17:08:42 +02:00
parent cc27d5bfd1
commit da96d394f1
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ module.exports = screen => ({
selectedBg: white
});
_table.setData({
headers: [ ` ${headers[0]}`, ...headers.slice(1) ],
headers: headers.map(header => ` ${header}`),
data
});
return _table;