Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(xo-web/render-xo-item/PIF): hide parenthesis if no info inside #7022

Merged
merged 3 commits into from
Sep 8, 2023

Conversation

pdonias
Copy link
Member

@pdonias pdonias commented Sep 6, 2023

See Zammad#17381

Screenshots

Before:
Capture_2023-09-06_10:36:41

After:
Capture_2023-09-06_10:36:12

Description

When a PIF doesn't have a device_name and its VLAN is -1, we show empty parenthesis next to the PIF's device, which is not necessary and confusing.

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

@pdonias pdonias merged commit 1c9d104 into master Sep 8, 2023
1 check passed
@pdonias pdonias deleted the pierre-render-pif-empty-parenthesis branch September 8, 2023 08:45
ByScripts pushed a commit that referenced this pull request Sep 14, 2023
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.

3 participants