Skip to content

Commit 2b03bfb

Browse files
fix: tool icon
1 parent 326ed46 commit 2b03bfb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

ui/src/components/workflow-dropdown-menu/application/NodeContent.vue

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@
3131
>
3232
<img :src="resetUrl(item?.icon, resetUrl('./favicon.ico'))" alt="" />
3333
</el-avatar>
34-
<el-avatar
34+
35+
<ToolIcon
3536
v-else
36-
class="avatar-green"
37-
shape="square"
37+
class="mr-12"
3838
:size="20"
3939
style="--el-avatar-border-radius: 6px"
40-
>
41-
<img src="@/assets/tool/icon_tool.svg" style="width: 58%" alt="" />
42-
</el-avatar>
40+
:type="item?.tool_type"
41+
/>
4342
<span class="ml-8 ellipsis" :title="item.name">{{ item.name }}</span>
4443
</div>
4544
</template>

0 commit comments

Comments
 (0)