Skip to content

Commit

Permalink
fix(app-reg): show register button even when there is no spec (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mierenga authored Sep 7, 2023
1 parent cbce7cf commit ee06a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Spec.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default defineComponent({
]
const applicationRegistrationEnabled = computed(() => {
return spec.value.statusCode !== 404 && currentVersion.value.registration_configs?.length && isAllowedToRegister.value
return currentVersion.value.registration_configs?.length && isAllowedToRegister.value
})
const helpText = useI18nStore().state.helpText
Expand Down

0 comments on commit ee06a45

Please sign in to comment.