🔥 Remove active and inactive toggle from manage users page
This commit is contained in:
@@ -39,32 +39,25 @@ const ManageUsersPage = () => {
|
|||||||
|
|
||||||
<Title mb="md">Manage users</Title>
|
<Title mb="md">Manage users</Title>
|
||||||
<Text mb="xl">
|
<Text mb="xl">
|
||||||
Using users, you have granular control who can access, edit or delete resources on your Homarr instance.
|
Using users, you have granular control who can access, edit or delete resources on your
|
||||||
|
Homarr instance.
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
<Group position="apart" mb="md">
|
<Flex columnGap={10} justify="end" mb="md">
|
||||||
<SegmentedControl
|
<Autocomplete
|
||||||
data={[
|
placeholder="Filter"
|
||||||
{ label: 'Active', value: 'active' },
|
data={['React', 'Angular', 'Svelte', 'Vue']}
|
||||||
{ label: 'Inactive', value: 'inactive' },
|
variant="filled"
|
||||||
]}
|
|
||||||
/>
|
/>
|
||||||
<Flex columnGap={10}>
|
<Button
|
||||||
<Autocomplete
|
component={Link}
|
||||||
placeholder="Filter"
|
leftIcon={<IconPlus size="1rem" />}
|
||||||
data={['React', 'Angular', 'Svelte', 'Vue']}
|
href="/manage/users/create"
|
||||||
variant="filled"
|
variant="default"
|
||||||
/>
|
>
|
||||||
<Button
|
Create
|
||||||
component={Link}
|
</Button>
|
||||||
leftIcon={<IconPlus size="1rem" />}
|
</Flex>
|
||||||
href="/manage/users/create"
|
|
||||||
variant="default"
|
|
||||||
>
|
|
||||||
Create
|
|
||||||
</Button>
|
|
||||||
</Flex>
|
|
||||||
</Group>
|
|
||||||
|
|
||||||
{data && (
|
{data && (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user