@truedat/lm 8.6.5 → 8.6.6

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": "8.6.5",
3
+ "version": "8.6.6",
4
4
  "description": "Truedat Link Manager",
5
5
  "sideEffects": [
6
6
  "**/*.css",
@@ -54,7 +54,7 @@
54
54
  "@testing-library/jest-dom": "^6.6.3",
55
55
  "@testing-library/react": "^16.3.0",
56
56
  "@testing-library/user-event": "^14.6.1",
57
- "@truedat/test": "8.6.5",
57
+ "@truedat/test": "8.6.6",
58
58
  "identity-obj-proxy": "^3.0.0",
59
59
  "jest": "^29.7.0",
60
60
  "redux-saga-test-plan": "^4.0.6"
@@ -86,5 +86,5 @@
86
86
  "semantic-ui-react": "^3.0.0-beta.2",
87
87
  "swr": "^2.3.3"
88
88
  },
89
- "gitHead": "32ae31a344185df36f353858af39fbcb64d8d7f8"
89
+ "gitHead": "8a7cc3d7598dde1a52abbb9933118f4a90155d42"
90
90
  }
@@ -76,7 +76,7 @@ export const StructureLinks = ({
76
76
 
77
77
  return (
78
78
  <Grid>
79
- {id && canCreateLink && (
79
+ {id && canCreateLink ? (
80
80
  <Grid.Column width={16}>
81
81
  <Button
82
82
  floated="right"
@@ -86,7 +86,7 @@ export const StructureLinks = ({
86
86
  to={linkTo.STRUCTURE_LINKS_NEW({ id })}
87
87
  content={<FormattedMessage id="links.actions.create" />}
88
88
  />
89
- {canSuggestConceptLink && (
89
+ {canSuggestConceptLink ? (
90
90
  <SuggestLinkButton
91
91
  floated="right"
92
92
  onSubmit={(prompt) =>
@@ -95,10 +95,10 @@ export const StructureLinks = ({
95
95
  })
96
96
  }
97
97
  />
98
- )}
98
+ ) : null}
99
99
  </Grid.Column>
100
- )}
101
- {!_.isEmpty(structureLinks) && (
100
+ ) : null}
101
+ {!_.isEmpty(structureLinks) ? (
102
102
  <Grid.Column width={16}>
103
103
  <Table
104
104
  headerRow={headerRow}
@@ -106,7 +106,7 @@ export const StructureLinks = ({
106
106
  tableData={structureLinks}
107
107
  />
108
108
  </Grid.Column>
109
- )}
109
+ ) : null}
110
110
  </Grid>
111
111
  );
112
112
  };