fix: build error

This commit is contained in:
duorameng
2026-04-30 11:28:15 +08:00
parent 5e8e20862d
commit 3691f8acb5
2 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -9,7 +9,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
import {
RefreshCw, Trash2, Pencil, Copy, Server, Search, Download, RotateCw,
Plus, Ticket, ListTodo, Eye, Wifi, WifiOff,
Zap, ZapOff, Check, X, MoreHorizontal, Loader2, Monitor, Terminal, GitBranch
Zap, ZapOff, Check, X, MoreHorizontal
} from 'lucide-vue-next'
import {
DropdownMenu,
@@ -22,7 +22,6 @@ import { api, type Agent, type AgentToken } from '@/api'
import { toast } from 'vue-sonner'
import { useRouter } from 'vue-router'
import { AGENT_STATUS } from '@/constants'
import TextOverflow from '@/components/TextOverflow.vue'
const router = useRouter()
-3
View File
@@ -576,7 +576,6 @@ watch(() => route.query.agent_id, (newVal: any) => {
<div class="relative">
<GitBranch v-if="task.type === TASK_TYPE.REPO" class="h-4 w-4 text-primary" />
<Terminal v-else class="h-4 w-4 text-primary" />
<div v-if="task.pin_type === 'top'" class="absolute -top-1 -right-1 h-2 w-2 bg-primary rounded-full border-2 border-background" />
</div>
</span>
<div class="w-56 shrink-0 flex flex-col justify-center gap-0.5 overflow-hidden">
@@ -672,7 +671,6 @@ watch(() => route.query.agent_id, (newVal: any) => {
<div class="relative">
<GitBranch v-if="task.type === TASK_TYPE.REPO" class="h-3.5 w-3.5 text-primary" />
<Terminal v-else class="h-3.5 w-3.5 text-primary" />
<div v-if="task.pin_type === 'top'" class="absolute -top-1 -right-1 h-1.5 w-1.5 bg-primary rounded-full border border-background" />
</div>
</span>
<div class="flex flex-col min-w-0">
@@ -739,7 +737,6 @@ watch(() => route.query.agent_id, (newVal: any) => {
<div class="relative">
<GitBranch v-if="task.type === TASK_TYPE.REPO" class="h-3.5 w-3.5 text-primary" />
<Terminal v-else class="h-3.5 w-3.5 text-primary" />
<div v-if="task.pin_type === 'top'" class="absolute -top-1 -right-1 h-1.5 w-1.5 bg-primary rounded-full border border-background" />
</div>
</span>
<div class="flex items-center gap-1.5 min-w-0 flex-1">