Skip to content

Commit

Permalink
UI: fix icmp code/type of ACL rule are not display if the value is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Feb 1, 2024
1 parent 1c98b5a commit c7aaedf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/src/views/network/AclListRulesTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@
<div class="list__label">{{ $t('label.protocol') }}</div>
<div>{{ element.protocol }}</div>
</div>
<div class="list__col" v-if="element.startport">
<div class="list__col" v-if="element.startport !== undefined">
<div class="list__label">{{ $t('label.startport') }}</div>
<div>{{ element.startport }}</div>
</div>
<div class="list__col" v-if="element.endport">
<div class="list__col" v-if="element.endport !== undefined">
<div class="list__label">{{ $t('label.endport') }}</div>
<div>{{ element.endport }}</div>
</div>
<div class="list__col" v-if="element.icmpcode">
<div class="list__col" v-if="element.icmpcode !== undefined">
<div class="list__label">{{ $t('label.icmpcode') }}</div>
<div>{{ element.icmpcode }}</div>
</div>
<div class="list__col" v-if="element.icmptype">
<div class="list__col" v-if="element.icmptype !== undefined">
<div class="list__label">{{ $t('label.icmptype') }}</div>
<div>{{ element.icmptype }}</div>
</div>
Expand Down

0 comments on commit c7aaedf

Please sign in to comment.