Skip to content

Build your personal knowledge base with Trilium Notes

chore(views/table): disable sorting for note action button

Elian Doranbc36676fa148
diff --git a/apps/client/src/widgets/view_widgets/table_view/data.ts b/apps/client/src/widgets/view_widgets/table_view/data.ts
index 8c5852808d..c31df449a8 100644
--- a/apps/client/src/widgets/view_widgets/table_view/data.ts
+++ b/apps/client/src/widgets/view_widgets/table_view/data.ts
@@ -69,6 +69,7 @@ export function buildColumnDefinitions(info: PromotedAttributeInformation[]) {
title: "Open note",
width: 40,
hozAlign: "center",
+ headerSort: false,
formatter: () => `<span class="bx bx-window-open"></span>`,
cellClick: (e, cell) => {
const noteId = cell.getRow().getCell("noteId").getValue();