fix(frontend): hide workspace status badges

This commit is contained in:
JOJO 2026-05-29 20:32:33 +08:00
parent 3d4c483807
commit 77752a22d4
2 changed files with 0 additions and 18 deletions

View File

@ -77,12 +77,6 @@
{{ item.path || '(未配置路径)' }}
</div>
<div class="workspace-manage-badges">
<span v-if="item.workspace_id === defaultWorkspaceId" class="workspace-manage-badge">
{{ workspaceKind === 'project' ? '默认项目' : '默认工作区' }}
</span>
<span v-if="item.workspace_id === currentWorkspaceId" class="workspace-manage-badge">
当前
</span>
<span v-if="Number(item.running_task_count || 0) > 0" class="workspace-manage-badge running">
运行中
</span>

View File

@ -222,18 +222,6 @@
<div class="host-workspace-card-head">
<span class="host-workspace-label">{{ item.label }}</span>
<span class="host-workspace-badges">
<span
v-if="item.workspace_id === hostWorkspaceDefaultId"
class="host-workspace-badge default"
>
{{ workspaceKind === 'project' ? '默认项目' : '默认工作区' }}
</span>
<span
v-if="item.workspace_id === hostWorkspaceId"
class="host-workspace-badge current"
>
当前
</span>
<span
v-if="Number(item.running_task_count || 0) > 0"
class="host-workspace-badge running"