Problem/Motivation

  • If there is only one entity operation for a particular entity, the dropdown caret shows regardless. This can cause confusion in the UI.

Issue fork rigel-3294429

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

baldwinlouie created an issue. See original summary.

baldwinlouie’s picture

Status: Active » Needs review
StatusFileSize
new57.42 KB

@yas, here is the patch that removes the dropdown caret if there is only one entity operation.

See attached screenshot as an example of the code change.

Please clear drupal cache before testing, since this is a twig template change.

yas’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new240.47 KB

@baldwinlouie

Thank you for the fix. I tested the patch and it works fine. I'll merge the patch to 5.x, and close this issue as Fixed.

27.png

  • yas committed 074e84b on 5.x authored by baldwinlouie
    Issue #3294429 by baldwinlouie, yas: Remove dropdown caret in entity...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.