Skip to content

Commit

Permalink
merge upstream changes and fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-Duke committed Oct 25, 2018
2 parents 5f6e4b3 + 4cd2576 commit bc923bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src/store/getters.js
@@ -1,4 +1,4 @@
export const authStatus = (state) => {
export const authStatus = state => {
state.status
}

Expand All @@ -11,3 +11,11 @@ export const availableProtocols = state => {
})
return protocols
}

export const getHardwareTriggers = state => {
return state.triggersList.filter(trigger => {
if (trigger.hardwareLevel === true) {
return trigger
}
})
}
2 changes: 1 addition & 1 deletion src/store/index.js
Expand Up @@ -45,7 +45,7 @@ export default new Vuex.Store({
roomsList: '',
thingsList: [],
thingTemplatesList: '',
triggersList: '',
triggersList: [],
usersList: ''
},
actions,
Expand Down

0 comments on commit bc923bb

Please sign in to comment.