Skip to content

Commit

Permalink
Propagated to other components.
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Popkin <[email protected]>
  • Loading branch information
popkinj committed Aug 11, 2023
1 parent 77e78b8 commit f1ae3c7
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
:connection-name="props.connectionName"
/>
<div
v-if="config.frontend.showWritableComponents"
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
class="p-inputgroup flex-1 send-message"
>
<InputText
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
<Column :sortable="false" header="Actions">
<template #body="{ data }">
<Button
v-if="config.frontend.showWritableComponents"
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
title="Delete Credential Definition"
icon="pi pi-trash"
class="p-button-rounded p-button-icon-only p-button-text"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
<template #header>
<div class="flex justify-content-between">
<div class="flex justify-content-start">
<OfferCredential v-if="config.frontend.showWritableComponents" />
<OfferCredential
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
/>
</div>
<div class="flex justify-content-end">
<span class="p-input-icon-left">
Expand Down
12 changes: 10 additions & 2 deletions services/tenant-ui/frontend/src/components/issuance/Schemas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,17 @@
<template #header>
<div class="flex justify-content-between">
<div class="flex justify-content-start">
<CreateSchema v-if="config.frontend.showWritableComponents" />
<CreateSchema
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
/>
<CopySchema
v-if="config.frontend.showWritableComponents"
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
class="ml-4"
/>
</div>
Expand Down
12 changes: 10 additions & 2 deletions services/tenant-ui/frontend/src/components/oca/Oca.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
<template #header>
<div class="flex justify-content-between">
<div class="flex justify-content-start">
<CreateOca v-if="config.frontend.showWritableComponents" />
<CreateOca
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
/>
</div>
<div class="flex justify-content-end">
<span class="p-input-icon-left">
Expand All @@ -39,7 +44,10 @@
<Column :sortable="false" header="Actions">
<template #body="{ data }">
<Button
v-if="config.frontend.showWritableComponents"
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
title="Delete Credential Definition"
icon="pi pi-trash"
class="p-button-rounded p-button-icon-only p-button-text"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@
>
<template #header>
<div class="flex justify-content-between">
<CreateRequest v-if="config.frontend.showWritableComponents" />
<CreateRequest
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
/>

<div class="flex justify-content-end">
<span class="p-input-icon-left">
Expand All @@ -43,13 +48,17 @@
<template #body="{ data }">
<div class="flex">
<DeleteExchangeRecord
v-if="config.frontend.showWritableComponents"
v-if="
config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true'
"
:record-id="data.presentation_exchange_id"
/>
<CreateRequest
v-if="
data.role === 'verifier' &&
config.frontend.showWritableComponents
(config.frontend.showWritableComponents === true ||
config.frontend.showWritableComponents === 'true')
"
:existing-pres-req="data.presentation_request"
icon-display
Expand Down

0 comments on commit f1ae3c7

Please sign in to comment.