chore: options
This commit is contained in:
parent
e60742b510
commit
cf44d3609f
|
@ -54,6 +54,10 @@ export default class Behaved extends decorate(Trait) {
|
|||
currentRoutine: {
|
||||
type: 'string',
|
||||
label: 'Current routine',
|
||||
options: (entity) => (
|
||||
Object.keys(entity.traitInstance('behaved').params.routines)
|
||||
.reduce((r, key) => ({...r, [key]: key}), {})
|
||||
),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user