PLT-3005 Added confirmation screen to integrations (#3747)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
5e6af8e970
Коммит
ef33f3fcd1
@@ -1257,7 +1257,7 @@ export function addIncomingHook(hook, success, error) {
|
||||
});
|
||||
|
||||
if (success) {
|
||||
success();
|
||||
success(data);
|
||||
}
|
||||
},
|
||||
(err) => {
|
||||
@@ -1280,7 +1280,7 @@ export function addOutgoingHook(hook, success, error) {
|
||||
});
|
||||
|
||||
if (success) {
|
||||
success();
|
||||
success(data);
|
||||
}
|
||||
},
|
||||
(err) => {
|
||||
@@ -1374,7 +1374,7 @@ export function addCommand(command, success, error) {
|
||||
});
|
||||
|
||||
if (success) {
|
||||
success();
|
||||
success(data);
|
||||
}
|
||||
},
|
||||
(err) => {
|
||||
|
||||
@@ -759,6 +759,12 @@ export const Constants = {
|
||||
NotificationPrefs: {
|
||||
MENTION: 'mention'
|
||||
},
|
||||
Integrations: {
|
||||
COMMAND: 'commands',
|
||||
INCOMING_WEBHOOK: 'incoming_webhooks',
|
||||
OUTGOING_WEBHOOK: 'outgoing_webhooks',
|
||||
OAUTH_APP: 'oauth2-apps'
|
||||
},
|
||||
FeatureTogglePrefix: 'feature_enabled_',
|
||||
PRE_RELEASE_FEATURES: {
|
||||
MARKDOWN_PREVIEW: {
|
||||
|
||||
Ссылка в новой задаче
Block a user