mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
small refactorings
This commit is contained in:
@@ -7,6 +7,10 @@ const attributeService = require("../services/attributes");
|
||||
const protectedSessionService = require("../services/protected_session");
|
||||
const hiddenSubtreeService = require("./hidden_subtree");
|
||||
|
||||
/**
|
||||
* @param {BNote} note
|
||||
* @return {int[]}
|
||||
*/
|
||||
function getRunAtHours(note) {
|
||||
try {
|
||||
return note.getLabelValues('runAtHour').map(hour => parseInt(hour));
|
||||
|
||||
Reference in New Issue
Block a user