/* * Copyright (c) 2026 by Christian Kellner. * Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause */ import { IllustrationNoResult, IllustrationNoResultDark } from '@douyinfe/semi-illustrations'; import { format } from '../../services/time/timeService'; import { Table, Button, Empty } from '@douyinfe/semi-ui-19'; import { IconDelete, IconEdit } from '@douyinfe/semi-icons'; const empty = ( } darkModeImage={} description={'No users found.'} /> ); export default function UserTable({ user = [], onUserRemoval, onUserEdit } = {}) { return ( { return format(value); }, }, { title: 'Number of jobs', dataIndex: 'numberOfJobs', }, { title: 'MCP Token', dataIndex: 'mcpToken', render: (value) => { return ( {value || '---'} ); }, }, { title: '', dataIndex: 'tools', render: (value, user) => { return (
); }, }, ]} dataSource={user} /> ); }