From b6306f218ea7f7149f24053a60c2b647c95d8070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Saracca?= Date: Mon, 25 Nov 2024 09:19:13 -0300 Subject: [PATCH] test: fix test --- src/sections/collection/Collection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sections/collection/Collection.tsx b/src/sections/collection/Collection.tsx index a81752d25..4d566f19b 100644 --- a/src/sections/collection/Collection.tsx +++ b/src/sections/collection/Collection.tsx @@ -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) {