mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
display a message if there's no recent change
This commit is contained in:
parent
44f85224e7
commit
a5e56ea839
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user