Skip to content

Commit 15f437e

Browse files
committed
changes_in_tests_for_additional_step
1 parent 64a68e6 commit 15f437e

File tree

5 files changed

+107
-105
lines changed

5 files changed

+107
-105
lines changed

package-lock.json

Lines changed: 89 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Stepper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default {
103103
return { ...step }
104104
},
105105
isLicenseAttribute(stepName) {
106-
return ['BY', 'NC', 'ND', 'SA'].indexOf(stepName) > -1
106+
return ['AL', 'BY', 'NC', 'ND', 'SA'].indexOf(stepName) > -1
107107
},
108108
/**
109109
* Checks if the Next button should be disabled. Next button is enabled only

src/utils/license-utilities.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ function updateVisibleEnabledStatus(stepStatusData) {
128128
// User uses the stepper for license selection
129129
if (stepStatusData.BY === false) {
130130
// User selects a CC0 license
131-
visible = ['FS', 'BY', 'NC', 'ND', 'SA', 'CW', 'AD']
132-
enabled = ['FS', 'BY', 'CW', 'AD']
131+
visible = ['AL', 'FS', 'BY', 'NC', 'ND', 'SA', 'CW', 'AD']
132+
enabled = ['AL', 'FS', 'BY', 'CW', 'AD']
133133
stepsDisabledDue = 'CC0'
134134
} else if (stepStatusData.ND) {
135135
// User selects an ND license: SA step is disabled
136-
visible = ['FS', 'BY', 'NC', 'ND', 'SA', 'AD']
137-
enabled = ['FS', 'BY', 'NC', 'ND', 'AD']
136+
visible = ['AL', 'FS', 'BY', 'NC', 'ND', 'SA', 'AD']
137+
enabled = ['AL', 'FS', 'BY', 'NC', 'ND', 'AD']
138138
stepsDisabledDue = 'ND'
139139
} else {
140140
// User selects a non-ND BY license from the stepper

0 commit comments

Comments
 (0)