2017-08-17 22:00:37 +05:30
|
|
|
export default class DeployKeysStore {
|
|
|
|
constructor() {
|
|
|
|
this.keys = {};
|
|
|
|
}
|
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
isEnabled(id) {
|
2021-03-08 18:12:59 +05:30
|
|
|
return this.keys.enabled_keys.some((key) => key.id === id);
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
}
|