Skip to content

Commit

Permalink
fix: import error
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed May 9, 2024
1 parent fd09755 commit cb3911e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Zniffer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ import {
isRssiError,
rssiToString,
getEnumMemberName,

Check failure on line 82 in src/views/Zniffer.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'getEnumMemberName' is defined but never used

Check failure on line 82 in src/views/Zniffer.vue

View workflow job for this annotation

GitHub Actions / test (18.x)

'getEnumMemberName' is defined but never used
ZWaveFrameType,
// ZWaveFrameType,
} from 'zwave-js/safe'
import { socketEvents } from '@server/lib/SocketEvents'
import { jsonToList } from '../lib/utils'
Expand Down Expand Up @@ -146,7 +146,7 @@ export default {
: 'None, direct connection'
},
getType(item) {
return getEnumMemberName(ZWaveFrameType, item.type)
return item.type // getEnumMemberName(ZWaveFrameType, item.type)
},
getRssi(item) {
if (item.rssi && !isRssiError(item.rssi)) {
Expand Down

0 comments on commit cb3911e

Please sign in to comment.