Actions
Bug #35114
closedRepository sets and Errata tabs do not show toggle group when host is in Library environment but non-default content view
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
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