Skip to content

Commit ee06a45

Browse files
authored
fix(app-reg): show register button even when there is no spec (#234)
1 parent cbce7cf commit ee06a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Spec.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default defineComponent({
115115
]
116116
117117
const applicationRegistrationEnabled = computed(() => {
118-
return spec.value.statusCode !== 404 && currentVersion.value.registration_configs?.length && isAllowedToRegister.value
118+
return currentVersion.value.registration_configs?.length && isAllowedToRegister.value
119119
})
120120
121121
const helpText = useI18nStore().state.helpText

0 commit comments

Comments
 (0)