2021-04-13 10:57:08 +02:00
|
|
|
// Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
2021-02-09 04:38:04 +01:00
|
|
|
|
2021-02-08 19:45:42 +01:00
|
|
|
let currentNoteId: number | null = null;
|
|
|
|
|
|
|
|
export function setNoteId(id: number): void {
|
|
|
|
currentNoteId = id;
|
|
|
|
}
|
|
|
|
|
|
|
|
export function getNoteId(): number | null {
|
|
|
|
return currentNoteId;
|
|
|
|
}
|