display a message if there's no recent change

This commit is contained in:
azivner 2018-08-18 15:21:44 +02:00
parent 44f85224e7
commit a5e56ea839

View File

@ -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);