diff --git a/ui/components.d.ts b/ui/components.d.ts index e7617c99..6181f80b 100644 --- a/ui/components.d.ts +++ b/ui/components.d.ts @@ -18,6 +18,7 @@ declare module 'vue' { NCollapse: typeof import('naive-ui')['NCollapse'] NCollapseItem: typeof import('naive-ui')['NCollapseItem'] NDivider: typeof import('naive-ui')['NDivider'] + NDropdown: typeof import('naive-ui')['NDropdown'] NFlex: typeof import('naive-ui')['NFlex'] NForm: typeof import('naive-ui')['NForm'] NFormItem: typeof import('naive-ui')['NFormItem'] @@ -27,6 +28,9 @@ declare module 'vue' { NRadioButton: typeof import('naive-ui')['NRadioButton'] NRadioGroup: typeof import('naive-ui')['NRadioGroup'] NSelect: typeof import('naive-ui')['NSelect'] + NSpin: typeof import('naive-ui')['NSpin'] + NTag: typeof import('naive-ui')['NTag'] + NTooltip: typeof import('naive-ui')['NTooltip'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue b/ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue index d7bcbe14..de1ea771 100644 --- a/ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue +++ b/ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue @@ -429,8 +429,8 @@ const startZenodoPublishProcess = async (shouldPublish: boolean = false) => { const validateZenodoForm = () => { zenodoFormRef.value?.validate((errors) => { if (!errors) { - // Check if the selected zenodo deposition is an actual option - if (selectedDeposition.value?.toString() !== "new") { + // Check if the selected zenodo deposition is an actual option' + if (selectedExistingDeposition.value !== "new") { if ( selectableDepositions.value.find( (item) => item.value === selectedDeposition.value?.toString(),