Skip to content

Commit

Permalink
LPS-131382 no need to load the react component if do you not have per…
Browse files Browse the repository at this point in the history
…missions
  • Loading branch information
AliciaGarciaGarcia authored and boton committed May 4, 2021
1 parent a31589a commit 9c9263d
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ renderResponse.setTitle(translateDisplayContext.getTitle());
</clay:container-fluid>
</aui:form>

<react:component
module="js/translate/Translate"
props="<%= translateDisplayContext.getInfoFieldSetEntriesData() %>"
/>
<c:if test="<%= translateDisplayContext.hasTranslationPermission() %>">
<react:component
module="js/translate/Translate"
props="<%= translateDisplayContext.getInfoFieldSetEntriesData() %>"
/>
</c:if>
</div>

0 comments on commit 9c9263d

Please sign in to comment.