Skip to content

Commit dbffc92

Browse files
committed
fix condition to publish usecase
1 parent 2ac1b3c commit dbffc92

File tree

1 file changed

+1
-1
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/publish

1 file changed

+1
-1
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/publish/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const Publish = () => {
205205
const hasRequiredMetadata =
206206
useCase.sectors.length > 0 &&
207207
useCase?.summary.length > 0 &&
208-
useCase?.metadata.length > 0 &&
208+
useCase?.sdgs.length > 0 &&
209209
useCase?.logo !== null;
210210

211211
// No datasets assigned

0 commit comments

Comments
 (0)