PLT-2927/PLT-2924 Fixing issues with integration lists (#2974)

* Changed IntegrationStore to store integrations by team

* Fixed regenerating a command's token not causing the UI to update

* Re-added IntegrationStore.hasReceived methods
Этот коммит содержится в:
Harrison Healey
2016-05-12 11:30:53 -04:00
коммит произвёл Christopher Speller
родитель 82e6cf785c
Коммит d9f724f959
6 изменённых файлов: 116 добавлений и 79 удалений

Просмотреть файл

@@ -1203,7 +1203,7 @@ export default class Client {
end(this.handleResponse.bind(this, 'listTeamCommands', success, error));
}
regenCommandToken = (commandId, suggest, success, error) => {
regenCommandToken = (commandId, success, error) => {
request.
post(`${this.getCommandsRoute()}/regen_token`).
set(this.defaultHeaders).