fix: handle feather icon in multi action button
(cherry picked from commit 26fabddcbefadc373d31d24b1eb71da21425d753)
This commit is contained in:
parent
7b2256123b
commit
d614e9b575
@ -12,8 +12,13 @@
|
||||
@click="() => activeButton.onClick()"
|
||||
>
|
||||
<template #prefix>
|
||||
<FeatherIcon
|
||||
v-if="activeButton.icon && typeof activeButton.icon === 'string'"
|
||||
:name="activeButton.icon"
|
||||
class="h-4 w-4"
|
||||
/>
|
||||
<component
|
||||
v-if="activeButton.icon"
|
||||
v-else-if="activeButton.icon"
|
||||
:is="activeButton.icon"
|
||||
class="h-4 w-4"
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user