support global shortcuts with global: prefix

This commit is contained in:
zadam
2019-11-21 21:12:07 +01:00
parent 00c295e4bf
commit 0e5028acd3
11 changed files with 401 additions and 403 deletions

View File

@@ -13,12 +13,13 @@ const DATE_LABEL = 'dateNote';
const DAYS = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
const MONTHS = ['January','February','March','April','May','June','July','August','September','October','November','December'];
async function createNote(parentNoteId, noteTitle, noteText) {
async function createNote(parentNoteId, noteTitle) {
return (await noteService.createNewNote({
parentNoteId: parentNoteId,
title: noteTitle,
content: noteText,
isProtected: false
content: '',
isProtected: false,
type: 'text'
})).note;
}