mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 04:16:40 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
eaede6fd15
commit
284e697801
1 changed files with 9 additions and 1 deletions
|
|
@ -191,11 +191,19 @@ export function SkillCard({ skill }: { skill: Skill }) {
|
|||
</div>
|
||||
|
||||
<div className="mt-4 flex items-center justify-between gap-2">
|
||||
<SkillStatusBadge status={skill.status} />
|
||||
<div className="flex items-center gap-2">
|
||||
<SkillStatusBadge status={skill.status} />
|
||||
{(skill as Skill & { is_default?: boolean }).is_default && (
|
||||
<span className="inline-flex items-center rounded-md border border-border bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground">
|
||||
Padrão
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<span className="text-xs text-muted-foreground">
|
||||
{formatDistanceToNow(new Date(skill.updated_at), { addSuffix: true, locale: ptBR })}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<AlertDialog open={confirmArchive} onOpenChange={setConfirmArchive}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue