fix: build error
This commit is contained in:
@@ -9,7 +9,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
|
|||||||
import {
|
import {
|
||||||
RefreshCw, Trash2, Pencil, Copy, Server, Search, Download, RotateCw,
|
RefreshCw, Trash2, Pencil, Copy, Server, Search, Download, RotateCw,
|
||||||
Plus, Ticket, ListTodo, Eye, Wifi, WifiOff,
|
Plus, Ticket, ListTodo, Eye, Wifi, WifiOff,
|
||||||
Zap, ZapOff, Check, X, MoreHorizontal, Loader2, Monitor, Terminal, GitBranch
|
Zap, ZapOff, Check, X, MoreHorizontal
|
||||||
} from 'lucide-vue-next'
|
} from 'lucide-vue-next'
|
||||||
import {
|
import {
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
@@ -22,7 +22,6 @@ import { api, type Agent, type AgentToken } from '@/api'
|
|||||||
import { toast } from 'vue-sonner'
|
import { toast } from 'vue-sonner'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { AGENT_STATUS } from '@/constants'
|
import { AGENT_STATUS } from '@/constants'
|
||||||
import TextOverflow from '@/components/TextOverflow.vue'
|
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
|
|||||||
@@ -576,7 +576,6 @@ watch(() => route.query.agent_id, (newVal: any) => {
|
|||||||
<div class="relative">
|
<div class="relative">
|
||||||
<GitBranch v-if="task.type === TASK_TYPE.REPO" class="h-4 w-4 text-primary" />
|
<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" />
|
<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>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
<div class="w-56 shrink-0 flex flex-col justify-center gap-0.5 overflow-hidden">
|
<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">
|
<div class="relative">
|
||||||
<GitBranch v-if="task.type === TASK_TYPE.REPO" class="h-3.5 w-3.5 text-primary" />
|
<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" />
|
<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>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
<div class="flex flex-col min-w-0">
|
<div class="flex flex-col min-w-0">
|
||||||
@@ -739,7 +737,6 @@ watch(() => route.query.agent_id, (newVal: any) => {
|
|||||||
<div class="relative">
|
<div class="relative">
|
||||||
<GitBranch v-if="task.type === TASK_TYPE.REPO" class="h-3.5 w-3.5 text-primary" />
|
<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" />
|
<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>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
<div class="flex items-center gap-1.5 min-w-0 flex-1">
|
<div class="flex items-center gap-1.5 min-w-0 flex-1">
|
||||||
|
|||||||
Reference in New Issue
Block a user