Skip to content

Commit

Permalink
[fix][665] empty data decode (#3647) (#3648)
Browse files Browse the repository at this point in the history
* fix event log

* update responsive for mobile

* update: decode tuple in data

* fix: style event log

* update fontsize event log

* update: revert font-size event log

* update: change default log to decode mode

* fix: empty decode data
  • Loading branch information
TranTrungTien authored Jul 18, 2024
1 parent 30f23e2 commit b376f8b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
<div class="decode-message">
<div *ngIf="isDataField" class="d-flex align-items-start highlight" [style]="!isMobile ? 'column-gap: 25px;' : ''">
<div class="flex-grow-1 data-field-msg">
<div *ngIf="type === 'Hex'">
<div *ngIf="type === 'Hex' || !isAllowSwitchDecode">
<p class="font-space-mono">{{ data }}</p>
</div>
<div *ngIf="type === 'Decode'">
<div *ngIf="type === 'Decode' && isAllowSwitchDecode">
<div class="data-item" [style]="isMobile ? 'grid-template-columns: 1fr' : ''">
<ng-container *ngFor="let item of data">
<p class="item-name" style="margin: auto 0px;">{{item?.name}}</p>
Expand Down

0 comments on commit b376f8b

Please sign in to comment.