From 568f2d1e75ba2643f8c1d1e5ae4270e0bf97998f Mon Sep 17 00:00:00 2001 From: Michael Haley Date: Tue, 7 Jun 2022 10:28:57 -0400 Subject: [PATCH] Change Table component to no longer use draggable columns default Signed-off-by: Michael Haley --- .changeset/gorgeous-trees-sparkle.md | 5 +++++ .../catalog-react/src/components/EntityTable/EntityTable.tsx | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/gorgeous-trees-sparkle.md diff --git a/.changeset/gorgeous-trees-sparkle.md b/.changeset/gorgeous-trees-sparkle.md new file mode 100644 index 0000000000..692f1ad905 --- /dev/null +++ b/.changeset/gorgeous-trees-sparkle.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-react': patch +--- + +Table component no longer has draggable columns by default diff --git a/plugins/catalog-react/src/components/EntityTable/EntityTable.tsx b/plugins/catalog-react/src/components/EntityTable/EntityTable.tsx index 3aa6857120..424d8b940e 100644 --- a/plugins/catalog-react/src/components/EntityTable/EntityTable.tsx +++ b/plugins/catalog-react/src/components/EntityTable/EntityTable.tsx @@ -85,6 +85,7 @@ export const EntityTable = (props: EntityTableProps) => { paging: false, actionsColumnIndex: -1, padding: 'dense', + draggable: false, }} data={entities} />