Skip to content

Commit f155752

Browse files
Reggie CushingReggie Cushing
authored andcommitted
change computed term name
1 parent 7784ffe commit f155752

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Preview.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
/>
3838
<div class="validation-msg">
3939
<p
40-
v-if="isNotMinimumCFF"
40+
v-if="doesNotHaveRequiredFields"
4141
class="invalid"
4242
>
4343
Your CITATION.cff does not have the minimum fields
@@ -75,7 +75,7 @@ export default defineComponent({
7575
return {
7676
cffstr,
7777
copyToClipboard,
78-
isNotMinimumCFF: computed(() => errors.value
78+
doesNotHaveRequiredFields: computed(() => errors.value
7979
.map((v) => v.instancePath)
8080
.some((i) => i.includes('title') || i.includes('authors') || i.includes('message'))),
8181
isValidCFF: computed(() => errors.value.length === 0),

0 commit comments

Comments
 (0)