1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-31 13:47:02 +02:00

fix: search page filtered placeholder (#9763)

It's weird that we encourage to create new flags in the cleanup stage
This commit is contained in:
Tymoteusz Czech 2025-04-15 14:29:50 +02:00 committed by GitHub
parent 6396da3e77
commit 06ade698e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -136,9 +136,7 @@ test('Filter table by project', async () => {
setupNoFeaturesReturned(); setupNoFeaturesReturned();
await filterFeaturesByProject('Project B'); await filterFeaturesByProject('Project B');
await screen.findByText( await screen.findByText('No feature flags found matching your criteria.');
'No feature flags found matching your criteria. Get started by adding a new feature flag.',
);
expect(window.location.href).toContain( expect(window.location.href).toContain(
'?offset=0&columns=&project=IS%3Aproject-b', '?offset=0&columns=&project=IS%3Aproject-b',
); );

View File

@ -495,8 +495,7 @@ export const FeatureToggleListTable: FC = () => {
elseShow={ elseShow={
<TablePlaceholder> <TablePlaceholder>
No feature flags found matching your No feature flags found matching your
criteria. Get started by adding a new criteria.
feature flag.
</TablePlaceholder> </TablePlaceholder>
} }
/> />