mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fix: timeago missing on table update
This commit is contained in:
@@ -21,6 +21,8 @@ define('admin/dashboard/users', ['admin/modules/dashboard-line-graph', 'hooks'],
|
|||||||
const tbodyEl = document.querySelector('.users-list tbody');
|
const tbodyEl = document.querySelector('.users-list tbody');
|
||||||
tbodyEl.innerHTML = '';
|
tbodyEl.innerHTML = '';
|
||||||
tbodyEl.append(...html.map((idx, el) => el));
|
tbodyEl.append(...html.map((idx, el) => el));
|
||||||
|
|
||||||
|
html.find('.timeago').timeago();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user