Skip to content

Commit

Permalink
fix: timeago missing on table update
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Feb 24, 2021
1 parent 0804d54 commit 655e2c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/src/admin/dashboard/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ define('admin/dashboard/users', ['admin/modules/dashboard-line-graph', 'hooks'],
const tbodyEl = document.querySelector('.users-list tbody');
tbodyEl.innerHTML = '';
tbodyEl.append(...html.map((idx, el) => el));

html.find('.timeago').timeago();
});
});
}
Expand Down

0 comments on commit 655e2c6

Please sign in to comment.