mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
renamed treeCache into froca
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
<pre class="prettyprint source linenums"><code>import promotedAttributeDefinitionParser from '../services/promoted_attribute_definition_parser.js';
|
||||
|
||||
class Attribute {
|
||||
constructor(treeCache, row) {
|
||||
this.treeCache = treeCache;
|
||||
constructor(froca, row) {
|
||||
this.froca = froca;
|
||||
|
||||
this.update(row);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ class Attribute {
|
||||
|
||||
/** @returns {NoteShort} */
|
||||
getNote() {
|
||||
return this.treeCache.notes[this.noteId];
|
||||
return this.froca.notes[this.noteId];
|
||||
}
|
||||
|
||||
get targetNoteId() { // alias
|
||||
@@ -123,7 +123,7 @@ class Attribute {
|
||||
|
||||
get dto() {
|
||||
const dto = Object.assign({}, this);
|
||||
delete dto.treeCache;
|
||||
delete dto.froca;
|
||||
|
||||
return dto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user