Project

General

Profile

Actions

Bug #35114

closed

Repository sets and Errata tabs do not show toggle group when host is in Library environment but non-default content view

Added by Jeremy Lenz over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

new host details page

On the Repository sets and Errata tabs, a toggle group "Show all / Limit to environment" shows when the host is a "non-library" host.

This is currently defined as

const nonLibraryHost = contentViewDefault === false &&
lifecycleEnvironmentLibrary === false;

However, if only one of the two are non-default, nonLibraryHost ends up as false. This is incorrect. The toggle group should show if one of the two is non-default, not require both. It should be

const nonLibraryHost = contentViewDefault === false ||
lifecycleEnvironmentLibrary === false;

Actions

Also available in: Atom PDF