mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-01 01:18:10 +02:00
refactor: remove outdated root role info text (#1112)
* refactor: remove unused imports * refactor: remove outdated root role info text
This commit is contained in:
parent
7d909c6b66
commit
b21ae4164d
@ -1,14 +1,6 @@
|
|||||||
import { useMemo, useEffect } from 'react';
|
import { useMemo, useEffect } from 'react';
|
||||||
import { IFeatureToggleListItem } from 'interfaces/featureToggle';
|
import { IFeatureToggleListItem } from 'interfaces/featureToggle';
|
||||||
import {
|
import { TablePlaceholder, VirtualizedTable } from 'component/common/Table';
|
||||||
SortableTableHeader,
|
|
||||||
Table,
|
|
||||||
TableBody,
|
|
||||||
TableCell,
|
|
||||||
TablePlaceholder,
|
|
||||||
TableRow,
|
|
||||||
VirtualizedTable,
|
|
||||||
} from 'component/common/Table';
|
|
||||||
import { PageContent } from 'component/common/PageContent/PageContent';
|
import { PageContent } from 'component/common/PageContent/PageContent';
|
||||||
import { SearchHighlightProvider } from 'component/common/Table/SearchHighlightContext/SearchHighlightContext';
|
import { SearchHighlightProvider } from 'component/common/Table/SearchHighlightContext/SearchHighlightContext';
|
||||||
import { PageHeader } from 'component/common/PageHeader/PageHeader';
|
import { PageHeader } from 'component/common/PageHeader/PageHeader';
|
||||||
|
@ -6,7 +6,6 @@ import {
|
|||||||
Button,
|
Button,
|
||||||
InputAdornment,
|
InputAdornment,
|
||||||
SelectChangeEvent,
|
SelectChangeEvent,
|
||||||
Alert,
|
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
import { Search } from '@mui/icons-material';
|
import { Search } from '@mui/icons-material';
|
||||||
import Autocomplete from '@mui/material/Autocomplete';
|
import Autocomplete from '@mui/material/Autocomplete';
|
||||||
@ -152,10 +151,6 @@ export const ProjectAccessAddUser = ({ roles }: IProjectAccessAddUserProps) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Alert severity="info" style={{ marginBottom: '20px' }}>
|
|
||||||
The user must have an Unleash root role before added to the
|
|
||||||
project.
|
|
||||||
</Alert>
|
|
||||||
<Grid container spacing={3} alignItems="flex-end">
|
<Grid container spacing={3} alignItems="flex-end">
|
||||||
<Grid item>
|
<Grid item>
|
||||||
<Autocomplete
|
<Autocomplete
|
||||||
|
Loading…
Reference in New Issue
Block a user