diff options
author | Donald Cook <dcook@gitlab.com> | 2019-07-16 15:44:15 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2019-07-16 15:44:15 +0300 |
commit | f219b744336364ff316cbddb1b097539ebec27bc (patch) | |
tree | 57cda10f961ce919e5b0304ae5740811ad105969 /app/views/shared | |
parent | d9b9aace9f08e361a6921b0b6061655340b0b550 (diff) |
CE backport: Removed non-decimal event values
Snowplow only accepts decimals for value
This MR removes sending of value implicitly with the value attribute
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/_visibility_radios.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_visibility_radios.html.haml b/app/views/shared/_visibility_radios.html.haml index 342fdb20d41..82ffdc9cd13 100644 --- a/app/views/shared/_visibility_radios.html.haml +++ b/app/views/shared/_visibility_radios.html.haml @@ -4,7 +4,7 @@ - next if disallowed || restricted .form-check - = form.radio_button model_method, level, checked: (selected_level == level), class: 'form-check-input', data: { track_label: "blank_project", track_event: "activate_form_input", track_property: "#{model_method}", track_value: "#{level}" } + = form.radio_button model_method, level, checked: (selected_level == level), class: 'form-check-input', data: { track_label: "blank_project", track_event: "activate_form_input", track_property: "#{model_method}_#{level}", track_value: "" } = form.label "#{model_method}_#{level}", class: 'form-check-label' do = visibility_level_icon(level) .option-title |