web-apps/apps/common/mobile/lib/store/users.js

11 lines
174 B
JavaScript
Raw Normal View History

2020-08-31 17:31:05 +00:00
2020-09-29 18:59:57 +00:00
import {observable, action} from 'mobx';
2020-08-31 17:31:05 +00:00
2020-09-29 18:59:57 +00:00
export class storeUsers {
@observable users = []
2020-08-31 17:31:05 +00:00
2020-09-29 18:59:57 +00:00
@action reset(users) {
this.users = Object.values(users)
}
}