mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01: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