@truedat/lm 6.16.3 → 6.16.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/lm",
3
- "version": "6.16.3",
3
+ "version": "6.16.5",
4
4
  "description": "Truedat Link Manager",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -107,5 +107,5 @@
107
107
  "react-dom": ">= 16.8.6 < 17",
108
108
  "semantic-ui-react": ">= 2.0.3 < 2.2"
109
109
  },
110
- "gitHead": "9ac7bd2ddab3f16be28269b3203e568c269cbd0e"
110
+ "gitHead": "c48a14cb239ca2b3e559467c9e153f19513a7521"
111
111
  }
@@ -24,6 +24,9 @@ Row.propTypes = {
24
24
  };
25
25
 
26
26
  export const Links = ({ tag, sourceType, targetType, columns, links }) => {
27
+ const linksData = _.orderBy(["business_concept_id", "name"])(["desc", "asc"])(
28
+ links
29
+ );
27
30
  const headerRow = columns.map(({ name }, key) => (
28
31
  <Table.HeaderCell
29
32
  key={key}
@@ -49,7 +52,7 @@ export const Links = ({ tag, sourceType, targetType, columns, links }) => {
49
52
  <Table
50
53
  headerRow={headerRow}
51
54
  renderBodyRow={renderBodyRow}
52
- tableData={links}
55
+ tableData={linksData}
53
56
  />
54
57
  </>
55
58
  );