browse.ui.js 371 B

1234567891011121314
  1. window.renderCell = function(result, {col, row})
  2. {
  3. if(col.name === 'serverRoom')
  4. {
  5. if(row.data.serverRoom) result[1].attrs.title = rooms[row.data.serverRoom];
  6. }
  7. if(col.name === 'osVersion')
  8. {
  9. const{osName, osVersion} = row.data;
  10. if(osName) result[0] = {html: hostLang[osName + 'List'][osVersion]};
  11. }
  12. return result;
  13. };