Added notification service redirect on add button

If no notification services are setup, clicking the add button on the home page will now redirect you to the notification services page instead of doing nothing.
This commit is contained in:
CasVT
2023-01-14 16:16:24 +01:00
parent 3e554cf497
commit e4d74b126b

View File

@@ -39,6 +39,8 @@ function addReminder() {
function showAdd() {
if (!document.getElementById('add-entry').classList.contains('error')) {
showWindow('add');
} else {
showWindow('notification');
};
};