Merge remote-tracking branch 'origin/stable'

This commit is contained in:
zadam
2020-09-30 22:50:33 +02:00
41 changed files with 2438 additions and 2843 deletions

View File

@@ -373,6 +373,7 @@ class Note extends Entity {
return false;
}
// FIXME: this code is quite questionable, one problem is that other caches (TreeCache, NoteCache) have nothing like that
if (attr.isDefinition()) {
const firstDefinitionIndex = attributes.findIndex(el => el.type === attr.type && el.name === attr.name);