mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
More conditional menu dividers
Srsly need better way to render these dividers
This commit is contained in:
parent
a2743f9940
commit
8f43099840
1 changed files with 4 additions and 5 deletions
|
@ -891,13 +891,12 @@ function Status({
|
|||
</div>
|
||||
)
|
||||
)}
|
||||
{!isSizeLarge ||
|
||||
((enableTranslate || !language || differentLanguage) && (
|
||||
<MenuDivider />
|
||||
))}
|
||||
{((!isSizeLarge && sameInstance) ||
|
||||
enableTranslate ||
|
||||
!language ||
|
||||
differentLanguage) && <MenuDivider />}
|
||||
{!isSizeLarge && (
|
||||
<>
|
||||
<MenuDivider />
|
||||
<MenuLink
|
||||
to={instance ? `/${instance}/s/${id}` : `/s/${id}`}
|
||||
onClick={(e) => {
|
||||
|
|
Loading…
Reference in a new issue