Skip to content

Commit

Permalink
fix(ui): routed ack frames row style (#3893)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Sep 16, 2024
1 parent 7414c06 commit 6e93060
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/views/Zniffer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@
<span v-else-if="item.payload">
{{ item.payload }}
</span>
<span v-else-if="item.routedAck"
>ROUTED ACK</span
>
<span v-else>---</span>
</template>

Expand Down Expand Up @@ -680,6 +683,8 @@ export default {
style.backgroundColor = 'rgba(0, 0, 255, 0.5)'
} else if (frame.corrupted) {
style.backgroundColor = 'rgba(255, 0, 0, 0.1)'
} else if (frame.routedAck) {
style.backgroundColor = 'rgba(255, 165, 0, 0.1)'
} else {
if (frame.protocol === Protocols.ZWaveLongRange) {
switch (frame.type) {
Expand Down

0 comments on commit 6e93060

Please sign in to comment.