Skip to content

Commit cbf9076

Browse files
Make data analytics name dependent on isBasedOnProject
## Purpose Make data analytics name for creating a new draft registration dependent on isBasedOnProject. I left the original response as was, and just added "no-project" to the no-project case, so all of the historical clicks of the button would match with the future clicks of the button meaning that it was based on a project. ## Summary of Changes 1. Add an if to the data-analytics-name element Co-authored-by: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com>
1 parent 1e8ff39 commit cbf9076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/registries/addon/branded/new/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116

117117
<Button
118118
data-test-start-registration-button
119-
data-analytics-name='Create new draft registration'
119+
data-analytics-name={{if this.isBasedOnProject 'Create new draft registration' 'Create new no-project draft registration'}}
120120
local-class='createDraftButton'
121121
disabled={{this.disableCreateDraft}}
122122
@type='primary'

0 commit comments

Comments
 (0)