Skip to content

User menu displays may include consecutive separators #1402

@ansuz

Description

@ansuz

Description

Under certain configurations it is possible for the dropdown user menu to display two consecutive separators.

Steps to reproduce

  1. as an administrator, check the Do not advertize crowdfunding campaigns checkbox on the admin panel's Network tab
  2. ensure that the instance does not have an active survey, configured via the admin panel's Broadcast tab in the Survey link field
  3. navigate to /drive/
  4. click the user admin menu in the top-right corner
  5. observe that two consecutive separators are displayed

image

Relevant logs

No response

Expected behavior

only one separator should be displayed between visible menu items

Which operating system are you using?

Linux/BSD/UNIX

What browsers are you seeing the problem on?

Mozilla Firefox

Extensions

Private firefox tab with no active extensions

Version

5.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugThere is a problem in our source codeDriveAnything related to CryptPad interface, not appsFixed in stagingThis is live on staging branch

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions