Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/sdcb/chats into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sdcb committed Dec 9, 2024
2 parents 19ac7e5 + 7e91a04 commit 06cdab9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions src/FE/pages/admin/users/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function Users() {
{t('Balance')}({t('Yuan')})
</TableHead>
<TableHead>{t('Model Count')}</TableHead>
<TableHead>{t('Created Time')}</TableHead>
<TableHead>{t('Actions')}</TableHead>
</TableRow>
</TableHeader>
<TableBody isLoading={loading} isEmpty={users.rows.length === 0}>
Expand Down Expand Up @@ -189,7 +189,16 @@ export default function Users() {
</Button>
</TableCell>
<TableCell>
{new Date(item.createdAt).toLocaleString()}
<Button
type="button"
size="sm"
onClick={(e) => {
handleShowChangeModal(item);
e.stopPropagation();
}}
>
{t('Add User Model')}
</Button>
</TableCell>
</TableRow>
))}
Expand Down
2 changes: 1 addition & 1 deletion src/FE/pages/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export default function LoginPage() {
</Tabs>

{loginConfigs.length > 0 && (
<div className="relative mt-5">
<div className="relative mt-4">
<div className="absolute inset-0 flex items-center">
<span className="w-full border-t" />
</div>
Expand Down

0 comments on commit 06cdab9

Please sign in to comment.