mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
display "multiple-parents" asterisk only for multiple non-search parents
This commit is contained in:
@@ -567,6 +567,7 @@ class Note extends AbstractEntity {
|
||||
* @returns {Attribute[]} note's "owned" attributes - excluding inherited ones
|
||||
*/
|
||||
getOwnedAttributes(type, name) {
|
||||
// it's a common mistake to include # or ~ into attribute name
|
||||
if (name && ["#", "~"].includes(name[0])) {
|
||||
name = name.substr(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user