Key overwrite detail conditions small formatting

This commit is contained in:
Tudor Stanciu 2023-03-20 23:06:21 +02:00
parent 39a5f8ba5a
commit 4fc6d90866
3 changed files with 7 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "reverse-proxy-frontend",
"version": "1.4.8",
"version": "1.4.9",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "reverse-proxy-frontend",
"version": "1.4.8",
"version": "1.4.9",
"private": true,
"description": "Reverse proxy frontend application",
"author": {

View File

@ -65,7 +65,11 @@ const KeyOverwriteDetailsComponent = ({ details }) => {
{displayConditions && (
<StyledTableCell>
{detail.conditions && (
<SlimChips elements={detail.conditions} />
<SlimChips
elements={detail.conditions.map(
c => `${c.target}: ${c.expression}`
)}
/>
)}
</StyledTableCell>
)}