1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-12 01:17:04 +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();
await filterFeaturesByProject('Project B');
await screen.findByText(
'No feature flags found matching your criteria. Get started by adding a new feature flag.',
);
await screen.findByText('No feature flags found matching your criteria.');
expect(window.location.href).toContain(
'?offset=0&columns=&project=IS%3Aproject-b',
);

View File

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