From 946d84a7a976e7c7a69d704885f7622425c142ef Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Thu, 10 Feb 2022 12:00:23 +0100 Subject: [PATCH] Data click optimization --- CHANGELOG.md | 1 + src/dashboardWebView/components/DataView/SortableItem.tsx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b684141..262f687a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### ⚡️ Optimizations +- Show the data item its details when clicking on the record - [#243](https://github.com/estruyf/vscode-front-matter/issues/243): Refactoring front matter parsing ### 🐞 Fixes diff --git a/src/dashboardWebView/components/DataView/SortableItem.tsx b/src/dashboardWebView/components/DataView/SortableItem.tsx index b68054db..94ac9564 100644 --- a/src/dashboardWebView/components/DataView/SortableItem.tsx +++ b/src/dashboardWebView/components/DataView/SortableItem.tsx @@ -24,7 +24,9 @@ export const SortableItem = SortableElement(({ value, selectedIndex, crntIndex, return ( <>
  • -
    +
    onSelectedIndexChange(crntIndex)}> {value}