summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/alerts_service_settings/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/alerts_service_settings/index.js')
-rw-r--r--app/assets/javascripts/alerts_service_settings/index.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/assets/javascripts/alerts_service_settings/index.js b/app/assets/javascripts/alerts_service_settings/index.js
index d49725c6a4d..c26adf24a7f 100644
--- a/app/assets/javascripts/alerts_service_settings/index.js
+++ b/app/assets/javascripts/alerts_service_settings/index.js
@@ -7,7 +7,14 @@ export default el => {
return null;
}
- const { activated: activatedStr, formPath, authorizationKey, url, learnMoreUrl } = el.dataset;
+ const {
+ activated: activatedStr,
+ alertsSetupUrl,
+ alertsUsageUrl,
+ formPath,
+ authorizationKey,
+ url,
+ } = el.dataset;
const activated = parseBoolean(activatedStr);
return new Vue({
@@ -15,9 +22,10 @@ export default el => {
render(createElement) {
return createElement(AlertsServiceForm, {
props: {
+ alertsSetupUrl,
+ alertsUsageUrl,
initialActivated: activated,
formPath,
- learnMoreUrl,
initialAuthorizationKey: authorizationKey,
url,
},