mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
All: Fixed regression caused by commit 6164e2d8eb
This commit is contained in:
parent
900b0f3eb2
commit
4163d9e474
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user