mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-02 19:09:55 -06:00
display a message if there's no recent change
This commit is contained in:
@@ -15,7 +15,11 @@ async function showDialog() {
|
||||
|
||||
const result = await server.get('recent-changes/');
|
||||
|
||||
$dialog.html('');
|
||||
$dialog.empty();
|
||||
|
||||
if (result.length === 0) {
|
||||
$dialog.append("No changes yet ...");
|
||||
}
|
||||
|
||||
const groupedByDate = groupByDate(result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user