From 8add8b1bd6e0b48f333b55fa3c014fdcb7df23de Mon Sep 17 00:00:00 2001 From: Florian COULON Date: Thu, 17 Feb 2022 12:58:23 +0100 Subject: [PATCH 1/2] refactor: :art: ajout commentaire J'ai ajouter un comment pour montrer que c'est trop bien pas de breaking change --- React_Starter/src/views/Dashboard/Dashboard.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/React_Starter/src/views/Dashboard/Dashboard.js b/React_Starter/src/views/Dashboard/Dashboard.js index eccebd1ad..de1804d1d 100644 --- a/React_Starter/src/views/Dashboard/Dashboard.js +++ b/React_Starter/src/views/Dashboard/Dashboard.js @@ -81,6 +81,8 @@ class Dashboard extends Component { } }) .then(res => { + // Je met des commentaire pour tester l'edit :D + const results = res.data.hits.hits.map(obj => obj._source); this.setState({ results : results, From f6b65e4a74cb5840aaef59e31c44b9ca9baf81dd Mon Sep 17 00:00:00 2001 From: Florian COULON Date: Thu, 17 Feb 2022 12:59:46 +0100 Subject: [PATCH 2/2] refactor: :fire: Remove interne uri ... ... --- React_Starter/src/views/Dashboard/LastProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React_Starter/src/views/Dashboard/LastProcess.js b/React_Starter/src/views/Dashboard/LastProcess.js index 25a18011d..fde255758 100644 --- a/React_Starter/src/views/Dashboard/LastProcess.js +++ b/React_Starter/src/views/Dashboard/LastProcess.js @@ -11,7 +11,7 @@ class LastProcess extends Component { } componentDidMount() { - axios.post(`http://lgc-sandbox-dev:9200/console/_search`, { + axios.post(`http://remove_leclerc_interne_uri:9200/console/_search`, { version: true, size: 1, sort: [