core: fix shortcut is not defined

This commit is contained in:
Abdullah Atta
2023-01-04 12:13:31 +05:00
committed by Abdullah Atta
parent d4ec67ee21
commit 8c8be28363

View File

@@ -109,7 +109,7 @@ export default class Reminders extends Collection {
}
exists(itemId) {
return !!this.shortcut(itemId);
return !!this.reminder(itemId);
}
reminder(id) {