feat: link to view gallery (icon)
This commit is contained in:
parent
8a2064e09d
commit
8b540bff62
1 changed files with 10 additions and 1 deletions
|
@ -4,6 +4,7 @@ import { showNotification } from '@mantine/notifications';
|
||||||
import {
|
import {
|
||||||
IconClipboardCopy,
|
IconClipboardCopy,
|
||||||
IconExternalLink,
|
IconExternalLink,
|
||||||
|
IconGridDots,
|
||||||
IconPhotoCancel,
|
IconPhotoCancel,
|
||||||
IconPhotoMinus,
|
IconPhotoMinus,
|
||||||
IconPhotoUp,
|
IconPhotoUp,
|
||||||
|
@ -16,6 +17,7 @@ import { useStats } from 'lib/queries/stats';
|
||||||
import { userSelector } from 'lib/recoil/user';
|
import { userSelector } from 'lib/recoil/user';
|
||||||
import { bytesToHuman } from 'lib/utils/bytes';
|
import { bytesToHuman } from 'lib/utils/bytes';
|
||||||
import { DataTable, DataTableSortStatus } from 'mantine-datatable';
|
import { DataTable, DataTableSortStatus } from 'mantine-datatable';
|
||||||
|
import Link from 'next/link';
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { useRecoilValue } from 'recoil';
|
import { useRecoilValue } from 'recoil';
|
||||||
import RecentFiles from './RecentFiles';
|
import RecentFiles from './RecentFiles';
|
||||||
|
@ -151,7 +153,14 @@ export default function Dashboard({ disableMediaPreview, exifEnabled, compress }
|
||||||
<RecentFiles disableMediaPreview={disableMediaPreview} exifEnabled={exifEnabled} compress={compress} />
|
<RecentFiles disableMediaPreview={disableMediaPreview} exifEnabled={exifEnabled} compress={compress} />
|
||||||
|
|
||||||
<Box my='sm'>
|
<Box my='sm'>
|
||||||
<Title>Files</Title>
|
<Group mb='md'>
|
||||||
|
<Title>Files</Title>
|
||||||
|
<Tooltip label='View Gallery'>
|
||||||
|
<ActionIcon variant='filled' color='primary' component={Link} href='/dashboard/files'>
|
||||||
|
<IconGridDots size='1rem' />
|
||||||
|
</ActionIcon>
|
||||||
|
</Tooltip>
|
||||||
|
</Group>
|
||||||
|
|
||||||
<DataTable
|
<DataTable
|
||||||
withBorder
|
withBorder
|
||||||
|
|
Loading…
Reference in a new issue