mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
All: Fixed regression caused by commit 6164e2d8eb
This commit is contained in:
1 parent
900b0f3eb2
commit
4163d9e474
1 file changed
+2
-1
@@ -137,7 +137,7 @@ class JoplinDatabase extends Database {
|
||||
}
|
||||
|
||||
tableFieldNames(tableName) {
|
||||
if (this.tableFieldNames_[tableName]) return this.tableFieldNames_[tableName];
|
||||
if (this.tableFieldNames_[tableName]) return this.tableFieldNames_[tableName].slice();
|
||||
|
||||
const tf = this.tableFields(tableName);
|
||||
const output = [];
|
||||
@@ -145,6 +145,7 @@ class JoplinDatabase extends Database {
|
||||
output.push(tf[i].name);
|
||||
}
|
||||
this.tableFieldNames_[tableName] = output;
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user