From d553c1170ed75684c3f51609e4ec59c37d607788 Mon Sep 17 00:00:00 2001 From: saltrafael Date: Sat, 12 Jun 2021 07:56:21 -0300 Subject: [PATCH] fix showcase for list items --- ui/component/claimMenuList/view.jsx | 84 +++++++++++++++-------------- 1 file changed, 45 insertions(+), 39 deletions(-) diff --git a/ui/component/claimMenuList/view.jsx b/ui/component/claimMenuList/view.jsx index 7f87e955e..37ae3a368 100644 --- a/ui/component/claimMenuList/view.jsx +++ b/ui/component/claimMenuList/view.jsx @@ -273,49 +273,55 @@ function ClaimMenuList(props: Props) { )} + {!isChannelPage && ( +
+ )} + + )} + + {!isMyCollection && ( + <> + {(!claimIsMine || channelIsBlocked) && channelUri ? !incognito && ( + <> + +
+ + {channelIsBlocked ? __('Unblock Channel') : __('Block Channel')} +
+
+ + +
+ + {channelIsMuted ? __('Unmute Channel') : __('Mute Channel')} +
+
+ + ) : ( + <> + {!isChannelPage && !isRepost && ( + +
+ + {__('Edit')} +
+
+ )} + + {showDelete && ( + +
+ + {__('Delete')} +
+
+ )} + + )}
)} - {(!claimIsMine || channelIsBlocked) && channelUri && !isMyCollection ? !incognito && ( - <> - -
- - {channelIsBlocked ? __('Unblock Channel') : __('Block Channel')} -
-
- - -
- - {channelIsMuted ? __('Unmute Channel') : __('Mute Channel')} -
-
- - ) : ( - <> - {!isChannelPage && !isRepost && ( - -
- - {__('Edit')} -
-
- )} - - {showDelete && ( - -
- - {__('Delete')} -
-
- )} - - )} -
-