Skip to content

FIX: Hide lock icon with parent category name - #20

Merged
NateDhaliwal merged 2 commits into
naidihr:masterfrom
NateDhaliwal:master
Sep 13, 2025
Merged

FIX: Hide lock icon with parent category name#20
NateDhaliwal merged 2 commits into
naidihr:masterfrom
NateDhaliwal:master

Conversation

@NateDhaliwal

Copy link
Copy Markdown
Collaborator

If show_parent_category_name is disabled, the sub-category name would have 2 lock icons instead of 1. This places the parent category's lock icon within the parent category name.

Move the check & icon if the parent is protected to inside the if statement to check whether the parent is protected at all. This fixes the issue if the parent is protected but the name is hidden, leaving 2 lock icons.
@NateDhaliwal
NateDhaliwal merged commit ff170f8 into naidihr:master Sep 13, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant