mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
parent
85f8977b52
commit
3d93ed44d4
@ -96,11 +96,13 @@ const FeatureToggleList = ({
|
||||
);
|
||||
};
|
||||
|
||||
const headerTitle = filter.query
|
||||
? 'Search results'
|
||||
: archive
|
||||
? 'Archived Features'
|
||||
: 'Features';
|
||||
const searchResultsHeader = filter.query
|
||||
? `(${features.length} matches)`
|
||||
: '';
|
||||
|
||||
const headerTitle = archive
|
||||
? `Archived Features ${searchResultsHeader}`
|
||||
: `Features ${searchResultsHeader}`;
|
||||
|
||||
return (
|
||||
<div className={styles.featureContainer}>
|
||||
|
@ -69,7 +69,7 @@ exports[`renders correctly with one feature 1`] = `
|
||||
<h2
|
||||
className="MuiTypography-root makeStyles-headerTitle-15 MuiTypography-h2"
|
||||
>
|
||||
Features
|
||||
Features
|
||||
</h2>
|
||||
</div>
|
||||
<div
|
||||
@ -263,7 +263,7 @@ exports[`renders correctly with one feature without permissions 1`] = `
|
||||
<h2
|
||||
className="MuiTypography-root makeStyles-headerTitle-15 MuiTypography-h2"
|
||||
>
|
||||
Features
|
||||
Features
|
||||
</h2>
|
||||
</div>
|
||||
<div
|
||||
|
Loading…
Reference in New Issue
Block a user