Skip to content

Commit 1e9e140

Browse files
committed
fix: replace icon components with NcIconSvgWrapper
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
1 parent a5d4329 commit 1e9e140

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/Questions/QuestionRanking.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@
8080
class="ranking-item__drag-handle"
8181
variant="tertiary-no-background">
8282
<template #icon>
83-
<IconDragIndicator :size="20" />
83+
<NcIconSvgWrapper :svg="IconDragIndicator" />
8484
</template>
8585
<NcActionButton
8686
ref="buttonOptionUp"
8787
:disabled="index === 0"
8888
@click="onMoveUp(index)">
8989
<template #icon>
90-
<IconArrowUp :size="20" />
90+
<NcIconSvgWrapper :svg="IconArrowUp" />
9191
</template>
9292
{{ t('forms', 'Move option up') }}
9393
</NcActionButton>
@@ -96,7 +96,7 @@
9696
:disabled="index === rankedOptions.length - 1"
9797
@click="onMoveDown(index)">
9898
<template #icon>
99-
<IconArrowDown :size="20" />
99+
<NcIconSvgWrapper :svg="IconArrowDown" />
100100
</template>
101101
{{ t('forms', 'Move option down') }}
102102
</NcActionButton>
@@ -108,7 +108,7 @@
108108
:ariaLabel="t('forms', 'Remove from ranking')"
109109
@click="unrankOption(option)">
110110
<template #icon>
111-
<IconClose :size="20" />
111+
<NcIconSvgWrapper :svg="IconClose" />
112112
</template>
113113
</NcButton>
114114
</div>

0 commit comments

Comments
 (0)