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

feat: update message with no feature toggles (#5663)

This commit is contained in:
Mateusz Kwasniewski 2023-12-18 09:05:58 +01:00 committed by GitHub
parent ab2281d7e7
commit cc01971ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -138,7 +138,7 @@ test('Filter table by project', async () => {
await filterFeaturesByProject('Project B');
await screen.findByText(
'No feature toggles available. Get started by adding a new feature toggle.',
'No feature toggles found matching your criteria. Get started by adding a new feature toggle.',
);
expect(window.location.href).toContain(
'?sort=createdAt&order=desc&offset=0&columns=&project=IS%3Aproject-b',

View File

@ -361,8 +361,9 @@ const FeatureToggleListTableComponent: VFC = () => {
}
elseShow={
<TablePlaceholder>
No feature toggles available. Get started by
adding a new feature toggle.
No feature toggles found matching your
criteria. Get started by adding a new
feature toggle.
</TablePlaceholder>
}
/>

View File

@ -641,8 +641,9 @@ export const ProjectFeatureToggles = ({
elseShow={
<Box sx={{ padding: theme.spacing(3) }}>
<TablePlaceholder>
No feature toggles available. Get
started by adding a new feature toggle.
No feature toggles found matching your
criteria. Get started by adding a new
feature toggle.
</TablePlaceholder>
</Box>
}