From e3e9c43ba4fa764b7aa898f85dd9aaf9dc587d9f Mon Sep 17 00:00:00 2001 From: wilson Date: Mon, 14 Mar 2022 17:24:52 -0400 Subject: [PATCH 1/2] fix: #514 hide DM entry button when user joined a campaign with a character --- .../CampaignDetail/CampaignDetailBox.tsx | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/resources/js/Components/Detail/CampaignDetail/CampaignDetailBox.tsx b/resources/js/Components/Detail/CampaignDetail/CampaignDetailBox.tsx index 6e49f695e..e6fe47f53 100644 --- a/resources/js/Components/Detail/CampaignDetail/CampaignDetailBox.tsx +++ b/resources/js/Components/Detail/CampaignDetail/CampaignDetailBox.tsx @@ -100,16 +100,18 @@ const CampaignDetailBox = ({ )} - - - + {!userCharacter && ( + + + + )} - {userCharacter && ( + {userCharacter ? ( - )} - {!userCharacter && ( + ) : (