Skip to content

Commit

Permalink
added to the disabled check
Browse files Browse the repository at this point in the history
  • Loading branch information
RalkeyOfficial committed Aug 6, 2024
1 parent 4028e85 commit bedf16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modals/publication/AddPublicationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ import { navigationStore, publicationStore } from '../../store/store.js'
</div>
</div>
<NcButton v-if="success === null"
:disabled="(!publication.title && !catalogi?.value?.id && !metaData?.value?.id) || loading"
:disabled="(!publication.title || !catalogi?.value?.id || !metaData?.value?.id || !publication.summary) || loading"
type="primary"
@click="addPublication()">
<template #icon>
Expand Down

0 comments on commit bedf16a

Please sign in to comment.