Fix check listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
978d312e69
commit
69ed4bb939
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ const store = new Vuex.Store({
|
|||
*/
|
||||
getChecksForEntity(state) {
|
||||
return (entity) => {
|
||||
return state.checks
|
||||
return Object.values(state.checks)
|
||||
.filter((check) => check.supportedEntities.indexOf(entity) > -1 || check.supportedEntities.length === 0)
|
||||
.map((check) => state.plugins.checks[check.id])
|
||||
.reduce((obj, item) => {
|
||||
|
|
Loading…
Reference in a new issue