fix(frontend): hide workspace status badges
This commit is contained in:
parent
3d4c483807
commit
77752a22d4
@ -77,12 +77,6 @@
|
|||||||
{{ item.path || '(未配置路径)' }}
|
{{ item.path || '(未配置路径)' }}
|
||||||
</div>
|
</div>
|
||||||
<div class="workspace-manage-badges">
|
<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 v-if="Number(item.running_task_count || 0) > 0" class="workspace-manage-badge running">
|
||||||
运行中
|
运行中
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -222,18 +222,6 @@
|
|||||||
<div class="host-workspace-card-head">
|
<div class="host-workspace-card-head">
|
||||||
<span class="host-workspace-label">{{ item.label }}</span>
|
<span class="host-workspace-label">{{ item.label }}</span>
|
||||||
<span class="host-workspace-badges">
|
<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
|
<span
|
||||||
v-if="Number(item.running_task_count || 0) > 0"
|
v-if="Number(item.running_task_count || 0) > 0"
|
||||||
class="host-workspace-badge running"
|
class="host-workspace-badge running"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user