mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 12:55:55 +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/');
|
const result = await server.get('recent-changes/');
|
||||||
|
|
||||||
$dialog.html('');
|
$dialog.empty();
|
||||||
|
|
||||||
|
if (result.length === 0) {
|
||||||
|
$dialog.append("No changes yet ...");
|
||||||
|
}
|
||||||
|
|
||||||
const groupedByDate = groupByDate(result);
|
const groupedByDate = groupByDate(result);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user