chore(client/ts): port note_icon

This commit is contained in:
Elian Doran
2025-01-18 01:14:47 +02:00
parent 043d92a1ab
commit 3db93cdf24
2 changed files with 60 additions and 30 deletions

View File

@@ -515,10 +515,10 @@ class FNote {
}
/**
* @param [name] - label name to filter
* @param name - label name to filter
* @returns all note's labels (attributes with type label), including inherited ones
*/
getOwnedLabels(name: string) {
getOwnedLabels(name?: string) {
return this.getOwnedAttributes(LABEL, name);
}