@truedat/se 6.14.0 → 6.14.2

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/se",
3
- "version": "6.14.0",
3
+ "version": "6.14.2",
4
4
  "description": "Truedat Web Search Engine",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@testing-library/jest-dom": "^5.16.5",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "6.8.6",
37
+ "@truedat/test": "6.14.2",
38
38
  "babel-jest": "^28.1.0",
39
39
  "babel-plugin-dynamic-import-node": "^2.3.3",
40
40
  "babel-plugin-lodash": "^3.3.4",
@@ -86,7 +86,7 @@
86
86
  ]
87
87
  },
88
88
  "dependencies": {
89
- "@truedat/core": "6.14.0",
89
+ "@truedat/core": "6.14.2",
90
90
  "path-to-regexp": "^1.7.0",
91
91
  "prop-types": "^15.8.1",
92
92
  "react-intl": "^5.20.10",
@@ -103,5 +103,5 @@
103
103
  "react-dom": ">= 16.8.6 < 17",
104
104
  "semantic-ui-react": ">= 2.0.3 < 2.2"
105
105
  },
106
- "gitHead": "c93d6ae539fb9ecb3d43b63db5199726246d2024"
106
+ "gitHead": "753c6b170d39f136f655db597c695e4de3526615"
107
107
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { FormattedMessage } from "react-intl";
2
+ import { FormattedMessage, useIntl } from "react-intl";
3
3
  import {
4
4
  Header,
5
5
  Icon,
@@ -12,12 +12,19 @@ import { useElasticIndexes } from "../hooks/useElasticIndexes";
12
12
  import DeleteIndexButton from "./DeleteIndexButton";
13
13
 
14
14
  export default function ElasticIndexes() {
15
+ const { formatMessage } = useIntl();
15
16
  const { indexes, loading } = useElasticIndexes();
16
17
 
17
18
  return (
18
19
  <Segment>
19
20
  <Header as="h2">
20
- <Icon circular name="check" />
21
+ <Icon
22
+ circular
23
+ name={formatMessage({
24
+ id: "elastic_index.header.icon",
25
+ defaultMessage: "check",
26
+ })}
27
+ />
21
28
  <Header.Content>
22
29
  <FormattedMessage id="elastic_index.header" />
23
30
  <Header.Subheader>