ui_migration refactor(store) fix lingering issues namespace and wrong variable definition
This commit is contained in:
parent
3a5a7488dd
commit
917e3ff3ed
2 changed files with 6 additions and 6 deletions
|
|
@ -39,10 +39,10 @@ export default {
|
|||
return this.wotStore.thingActionUrl(thing, action, "invokeaction", allowUndefined);
|
||||
},
|
||||
thingActionAvailable(thing, action) {
|
||||
return this.wotStore.affordanceAvailable(thing, "actions", action);
|
||||
return this.wotStore.thingAffordanceAvailable(thing, "actions", action);
|
||||
},
|
||||
thingPropertyAvailable(thing, property) {
|
||||
return this.wotStore.affordanceAvailable(thing, "properties", property);
|
||||
return this.wotStore.thingAffordanceAvailable(thing, "properties", property);
|
||||
},
|
||||
async readThingProperty(thing, property, silenceErrors = false) {
|
||||
let url = this.wotStore.thingPropertyUrl(thing, property, "readproperty", false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue