mirror of
https://github.com/docmost/docmost.git
synced 2026-05-22 01:32:55 +08:00
fix
This commit is contained in:
@@ -9,13 +9,12 @@ import {
|
|||||||
UnstyledButton,
|
UnstyledButton,
|
||||||
Group,
|
Group,
|
||||||
SegmentedControl,
|
SegmentedControl,
|
||||||
Anchor,
|
|
||||||
} from "@mantine/core";
|
} from "@mantine/core";
|
||||||
import { useDebouncedValue } from "@mantine/hooks";
|
import { useDebouncedValue } from "@mantine/hooks";
|
||||||
import {
|
import {
|
||||||
|
IconArrowRight,
|
||||||
IconSearch,
|
IconSearch,
|
||||||
IconFileText,
|
IconFileText,
|
||||||
IconExternalLink,
|
|
||||||
} from "@tabler/icons-react";
|
} from "@tabler/icons-react";
|
||||||
import { Link, useNavigate } from "react-router-dom";
|
import { Link, useNavigate } from "react-router-dom";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
@@ -223,18 +222,17 @@ export default function TemplatePickerModal({
|
|||||||
)}
|
)}
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
|
|
||||||
<Group justify="space-between" mt="md">
|
<Group justify="flex-end" mt="md">
|
||||||
<Anchor
|
<Button
|
||||||
component={Link}
|
component={Link}
|
||||||
to="/templates"
|
to="/templates"
|
||||||
|
variant="subtle"
|
||||||
size="sm"
|
size="sm"
|
||||||
|
rightSection={<IconArrowRight size={16} />}
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
>
|
>
|
||||||
<Group gap={4} wrap="nowrap">
|
{t("Browse all templates")}
|
||||||
{t("Browse all templates")}
|
</Button>
|
||||||
<IconExternalLink size={14} />
|
|
||||||
</Group>
|
|
||||||
</Anchor>
|
|
||||||
</Group>
|
</Group>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user