mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
feat(views/table): get rid of note position column
This commit is contained in:
@@ -11,7 +11,6 @@ export type TableData = {
|
|||||||
labels: Record<string, boolean | string | null>;
|
labels: Record<string, boolean | string | null>;
|
||||||
relations: Record<string, boolean | string | null>;
|
relations: Record<string, boolean | string | null>;
|
||||||
branchId: string;
|
branchId: string;
|
||||||
position: number;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
type ColumnType = LabelType | "relation";
|
type ColumnType = LabelType | "relation";
|
||||||
@@ -94,10 +93,6 @@ export function buildColumnDefinitions(info: PromotedAttributeInformation[]) {
|
|||||||
field: "title",
|
field: "title",
|
||||||
title: "Title",
|
title: "Title",
|
||||||
editor: "input"
|
editor: "input"
|
||||||
},
|
|
||||||
{
|
|
||||||
field: "position",
|
|
||||||
title: "Position"
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -155,7 +150,6 @@ export async function buildRowDefinitions(parentNote: FNote, notes: FNote[], inf
|
|||||||
title: note.title,
|
title: note.title,
|
||||||
labels,
|
labels,
|
||||||
relations,
|
relations,
|
||||||
position: branch.notePosition,
|
|
||||||
branchId: branch.branchId
|
branchId: branch.branchId
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user