Skip to content

Commit

Permalink
Try using the is_write value
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Jaeger-Freeborn <[email protected]>
  • Loading branch information
Gavinok committed Oct 24, 2024
1 parent b9c69a3 commit 674d9c9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</Column>
<Column
:sortable="true"
field="read_only"
field="is_write"
header="Read Only"
data-type="boolean"
style="min-width: 6rem"
Expand All @@ -49,8 +49,8 @@
<i
class="pi"
:class="{
'pi-pencil text-green-500': !data.read_only,
'pi-pencil text-red-400': data.read_only,
'pi-pencil text-green-500': data.is_write,
'pi-pencil text-red-400': !data.is_write,
}"
></i>
</template>
Expand Down Expand Up @@ -115,7 +115,7 @@ const endorserList =
(config: any) => ({
ledger_id: config.id,
endorser_alias: config.endorser_alias,
read_only: config.read_only,
is_write: config.is_write,
})
)
: [];
Expand Down

0 comments on commit 674d9c9

Please sign in to comment.