Skip to content

Commit

Permalink
Fixing js build
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Aug 9, 2021
1 parent 2ebc945 commit eff5a00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devices_module/__init__.py
Expand Up @@ -16,4 +16,4 @@
Devices module
"""

__version__ = "0.2.13"
__version__ = "0.2.14"
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@fastybird/devices-module",
"version": "0.2.13",
"version": "0.2.14",
"description": "Devices module data model plugin",
"keywords": [
"devices",
Expand Down
2 changes: 1 addition & 1 deletion public/lib/models/devices/Device.ts
Expand Up @@ -117,7 +117,7 @@ export default class Device extends Model implements DeviceInterface {
.where('deviceId', this.id)
.first()

return property !== null && (property.value === DeviceConnectionState.READY || property.value === DeviceConnectionState.RUNNING)
return property !== null && (property.actualValue === DeviceConnectionState.READY || property.actualValue === DeviceConnectionState.RUNNING)
}

get icon(): string {
Expand Down

0 comments on commit eff5a00

Please sign in to comment.