@truedat/lm 4.44.0 → 4.44.1

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": "4.44.0",
3
+ "version": "4.44.1",
4
4
  "description": "Truedat Link Manager",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -33,7 +33,7 @@
33
33
  "@testing-library/jest-dom": "^5.14.1",
34
34
  "@testing-library/react": "^12.0.0",
35
35
  "@testing-library/user-event": "^13.2.1",
36
- "@truedat/test": "4.44.0",
36
+ "@truedat/test": "4.44.1",
37
37
  "babel-jest": "^27.0.6",
38
38
  "babel-plugin-dynamic-import-node": "^2.3.3",
39
39
  "babel-plugin-lodash": "^3.3.4",
@@ -83,7 +83,7 @@
83
83
  ]
84
84
  },
85
85
  "dependencies": {
86
- "@truedat/core": "4.44.0",
86
+ "@truedat/core": "4.44.1",
87
87
  "path-to-regexp": "^1.7.0",
88
88
  "prop-types": "^15.7.2",
89
89
  "react-graph-vis": "1.0.5",
@@ -101,5 +101,5 @@
101
101
  "react-dom": ">= 16.8.6 < 17",
102
102
  "semantic-ui-react": ">= 0.88.2 < 2.1"
103
103
  },
104
- "gitHead": "55fd4a8be70ca0d1bd4f3cb7b5eaf073b0350029"
104
+ "gitHead": "20d38381ed4cb6658d1122a4bff08a13fedc2d59"
105
105
  }
@@ -71,7 +71,6 @@ export const ImplementationLinks = ({
71
71
  />
72
72
  ));
73
73
 
74
- const id = _.prop("rule_id")(implementation);
75
74
  const implementation_id = _.prop("id")(implementation);
76
75
 
77
76
  const renderBodyRow = (link, i) => (
@@ -81,14 +80,13 @@ export const ImplementationLinks = ({
81
80
  return (
82
81
  <Segment attached="bottom">
83
82
  <Grid>
84
- {id && canCreateLink && (
83
+ {implementation_id && canCreateLink && (
85
84
  <Grid.Column width={16}>
86
85
  <Button
87
86
  floated="right"
88
87
  primary
89
88
  as={Link}
90
89
  to={linkTo.IMPLEMENTATION_CONCEPT_LINKS_NEW({
91
- id: id,
92
90
  implementation_id: implementation_id,
93
91
  })}
94
92
  content={<FormattedMessage id="links.actions.create" />}
@@ -13,7 +13,7 @@ exports[`<ImplementationLinks /> matches the latest snapshot 1`] = `
13
13
  >
14
14
  <a
15
15
  class="ui primary right floated button"
16
- href="/rules/2/implementations/4/links/concepts/new"
16
+ href="/implementations/4/links/concepts/new"
17
17
  role="button"
18
18
  >
19
19
  create
@@ -112,7 +112,7 @@ exports[`<ImplementationLinks /> matches the latest snapshot when implementation
112
112
  >
113
113
  <a
114
114
  class="ui primary right floated button"
115
- href="/rules/2/implementations/4/links/concepts/new"
115
+ href="/implementations/4/links/concepts/new"
116
116
  role="button"
117
117
  >
118
118
  create