diff --git a/app/assets/javascripts/integrations/constants.js b/app/assets/javascripts/integrations/constants.js index 1973a3c91ef..437bcc39886 100644 --- a/app/assets/javascripts/integrations/constants.js +++ b/app/assets/javascripts/integrations/constants.js @@ -83,3 +83,11 @@ export const billingPlanNames = { [billingPlans.PREMIUM]: s__('BillingPlans|Premium'), [billingPlans.ULTIMATE]: s__('BillingPlans|Ultimate'), }; + +const INTEGRATION_TYPE_SLACK = 'slack'; +const INTEGRATION_TYPE_MATTERMOST = 'mattermost'; + +export const placeholderForType = { + [INTEGRATION_TYPE_SLACK]: __('#general, #development'), + [INTEGRATION_TYPE_MATTERMOST]: __('my-channel'), +}; diff --git a/app/assets/javascripts/integrations/edit/components/trigger_fields.vue b/app/assets/javascripts/integrations/edit/components/trigger_fields.vue index 92042a5c981..67647cadf19 100644 --- a/app/assets/javascripts/integrations/edit/components/trigger_fields.vue +++ b/app/assets/javascripts/integrations/edit/components/trigger_fields.vue @@ -1,17 +1,7 @@