File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 />
4848
4949 <q-step
50- color =" primary"
50+ error-color =" negative"
51+ error-icon =" warning"
5152 icon =" "
5253 name =" identifiers"
5354 title =" Identifiers"
55+ v-bind:active-icon =" isValidScreenIdentifiers.hasError ? 'warning' : 'edit'"
56+ v-bind:color =" isValidScreenIdentifiers.hasError ? 'negative' : 'primary'"
57+ v-bind:error =" isValidScreenIdentifiers.hasError"
5458 v-bind:order =" 3"
5559 v-if =" showAdvanced"
5660 v-on:click =" setStepName('identifiers')"
@@ -133,16 +137,18 @@ import { computed } from 'vue'
133137import { useCff } from ' src/store/cff'
134138import { authorsErrors } from ' src/authors-errors'
135139import { relatedResourcesErrors } from ' src/related-resources-errors'
140+ import { identifiersErrors } from ' src/identifiers-errors'
136141
137142export default {
138143 setup () {
139144 const { showAdvanced, stepName, setStepName } = useApp ()
140- const { authors } = useCff ()
145+ const { authors, identifiers } = useCff ()
141146 return {
142147 isValidScreenAuthors: computed (() => authorsErrors (authors .value )),
148+ isValidScreenIdentifiers: computed (() => identifiersErrors (identifiers .value )),
149+ isValidScreenRelatedResources: computed (relatedResourcesErrors ),
143150 isValidScreenStart: computed (() => getMyErrors (' ' , [' message' , ' title' ])),
144151 isValidScreenVersionSpecific: computed (() => getMyErrors (' /date-released' )),
145- isValidScreenRelatedResources: computed (relatedResourcesErrors ),
146152 setStepName ,
147153 showAdvanced ,
148154 stepName
You can’t perform that action at this time.
0 commit comments