mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-17 22:01:10 -05:00
✨ feat(subscription): Improve layout and organization of subscription detail tabs
This commit is contained in:
parent
2215c7f2b9
commit
e4630f8ca9
@ -57,6 +57,7 @@ export function SubscriptionDetail({
|
|||||||
{t('onlineDevices')}
|
{t('onlineDevices')}
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
</TabsList>
|
</TabsList>
|
||||||
|
<div className='mt-4 max-h-[60dvh] overflow-y-auto'>
|
||||||
<TabsContent value='logs'>
|
<TabsContent value='logs'>
|
||||||
<ProTable<API.UserSubscribeLog, Record<string, unknown>>
|
<ProTable<API.UserSubscribeLog, Record<string, unknown>>
|
||||||
columns={[
|
columns={[
|
||||||
@ -97,7 +98,9 @@ export function SubscriptionDetail({
|
|||||||
{
|
{
|
||||||
accessorKey: 'download',
|
accessorKey: 'download',
|
||||||
header: t('download'),
|
header: t('download'),
|
||||||
cell: ({ row }) => <Display type='traffic' value={row.getValue('download')} />,
|
cell: ({ row }) => (
|
||||||
|
<Display type='traffic' value={row.getValue('download')} />
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
accessorKey: 'upload',
|
accessorKey: 'upload',
|
||||||
@ -201,6 +204,7 @@ export function SubscriptionDetail({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
</div>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</div>
|
</div>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user