service -> serviceId

This commit is contained in:
Tom Moor
2018-06-01 15:13:05 -04:00
parent b7b5bac5c3
commit 2337b9df7f
12 changed files with 23 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ class Integration extends BaseModel {
ui: UiStore;
id: string;
serviceId: string;
service: string;
collectionId: string;
events: Events;
settings: Settings;

View File

@@ -23,7 +23,7 @@ class IntegrationsStore extends BaseStore {
@computed
get slackIntegrations(): Integration[] {
return _.filter(this.orderedData, { serviceId: 'slack' });
return _.filter(this.orderedData, { service: 'slack' });
}
@action