Commit f12faf29 authored by Justin Ho's avatar Justin Ho

Fix partial local variable

- Remove unneeded space character
- Remove console.log
parent 6a25b9c9
...@@ -5,7 +5,6 @@ import initAlertsSettings from '~/alerts_service_settings'; ...@@ -5,7 +5,6 @@ import initAlertsSettings from '~/alerts_service_settings';
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
const prometheusSettingsWrapper = document.querySelector('.js-prometheus-metrics-monitoring'); const prometheusSettingsWrapper = document.querySelector('.js-prometheus-metrics-monitoring');
const integrationSettingsForm = new IntegrationSettingsForm('.js-integration-settings-form'); const integrationSettingsForm = new IntegrationSettingsForm('.js-integration-settings-form');
console.log(integrationSettingsForm);
integrationSettingsForm.init(); integrationSettingsForm.init();
if (prometheusSettingsWrapper) { if (prometheusSettingsWrapper) {
......
...@@ -9,5 +9,4 @@ ...@@ -9,5 +9,4 @@
- if @service.editable? - if @service.editable?
.footer-block.row-content-block .footer-block.row-content-block
= service_save_button(@service) = service_save_button(@service)
 
= link_to _('Cancel'), admin_application_settings_integration_path, class: 'btn btn-cancel' = link_to _('Cancel'), admin_application_settings_integration_path, class: 'btn btn-cancel'
= form_errors(@service) = form_errors(@service)
- if lookup_context.template_exists?('help', "projects/services/#{@service.to_param}", true) - if lookup_context.template_exists?('help', "projects/services/#{@service.to_param}", true)
= render "projects/services/#{@service.to_param}/help", subject: subject = render "projects/services/#{@service.to_param}/help", subject: @service
- elsif @service.help.present? - elsif @service.help.present?
.info-well .info-well
.well-segment .well-segment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment