mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
chore(views/table): set row ID as index
This commit is contained in:
parent
0e27cd0801
commit
a31ac17792
@ -94,6 +94,7 @@ export default class TableView extends ViewMode<StateInfo> {
|
|||||||
const info = getPromotedAttributeInformation(this.parentNote);
|
const info = getPromotedAttributeInformation(this.parentNote);
|
||||||
|
|
||||||
this.api = new Tabulator(el, {
|
this.api = new Tabulator(el, {
|
||||||
|
index: "noteId",
|
||||||
columns: buildColumnDefinitions(info),
|
columns: buildColumnDefinitions(info),
|
||||||
data: await buildRowDefinitions(this.parentNote, notes, info)
|
data: await buildRowDefinitions(this.parentNote, notes, info)
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user