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:
parent
ab2281d7e7
commit
cc01971ff0
@ -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',
|
||||
|
@ -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>
|
||||
}
|
||||
/>
|
||||
|
@ -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>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user