We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75531b6 commit 8f16358Copy full SHA for 8f16358
ui/src/workflow/icons/application-node-icon.vue
@@ -2,13 +2,13 @@
2
<el-avatar
3
v-if="isAppIcon(item?.icon)"
4
shape="square"
5
- :size="32"
+ :size="size || 32"
6
style="background: none"
7
class="mr-8"
8
>
9
<img :src="item?.icon" alt="" />
10
</el-avatar>
11
- <LogoIcon v-else height="32px" />
+ <LogoIcon v-else :height="`${size}px`" />
12
</template>
13
<script setup lang="ts">
14
import { isAppIcon } from '@/utils/common'
@@ -17,5 +17,6 @@ const props = defineProps<{
17
name: string
18
icon: string
19
}
20
+ size?: string | number
21
}>()
22
</script>
0 commit comments