mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
provide note dates in the frontend API, fixes #4232
This commit is contained in:
@@ -970,6 +970,10 @@ class FNote {
|
||||
isOptions() {
|
||||
return this.noteId.startsWith("_options");
|
||||
}
|
||||
|
||||
async getMetadata() {
|
||||
return await server.get(`notes/${this.noteId}/metadata`);
|
||||
}
|
||||
}
|
||||
|
||||
export default FNote;
|
||||
|
||||
Reference in New Issue
Block a user