From ae53a167011bd76e8dc9a2049c947f2d7cbab37d Mon Sep 17 00:00:00 2001 From: Laura Fuentes Grau Date: Mon, 27 Jul 2020 12:42:53 +0200 Subject: [PATCH] Infrastructure Components:only export button visible to users without admin role #239 --- src/ic/ics.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/ic/ics.js b/src/ic/ics.js index 4a1273e..8ab77a3 100644 --- a/src/ic/ics.js +++ b/src/ic/ics.js @@ -302,24 +302,24 @@ class InfrastructureComponents extends Component { /> } - -
- -
- -
- -
- {this.state.currentUser.role === "Admin" ? -
- -
- : -
+
+ +
+ : +
+ } + + {this.state.currentUser.role === "Admin" ? +
+ + +
+ : +
}