mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 07:13:45 +02:00
ui(admin): implement user and node servers tab
This commit is contained in:
13
resources/scripts/components/admin/users/UserServers.tsx
Normal file
13
resources/scripts/components/admin/users/UserServers.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import ServersTable from '@/components/admin/servers/ServersTable';
|
||||
import { Context } from '@/components/admin/users/UserRouter';
|
||||
|
||||
function UserServers () {
|
||||
const user = Context.useStoreState(state => state.user);
|
||||
|
||||
return (
|
||||
<ServersTable filters={{ owner_id: user?.id?.toString() }}/>
|
||||
);
|
||||
}
|
||||
|
||||
export default UserServers;
|
||||
Reference in New Issue
Block a user