Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
g-saracca committed Nov 25, 2024
1 parent 95601e2 commit b6306f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sections/collection/Collection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function Collection({
const canUserPublishCollection = Boolean(collectionUserPermissions?.canPublishCollection)

const showAddDataActions = canUserAddCollection || canUserAddDataset
const showPublishButton = collection?.isReleased && canUserPublishCollection
const showPublishButton = !collection?.isReleased && canUserPublishCollection
const showEditButton = canUserEditCollection

if (!isLoading && !collection) {
Expand Down

0 comments on commit b6306f2

Please sign in to comment.