Skip to content

Commit b186d0e

Browse files
authored
Merge pull request #20829 from jmchilton/collection_operation_icons
Migrate icon defs in CollectionOperations.vue to best practices.
2 parents fcb5e41 + 0088f13 commit b186d0e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

client/src/components/History/CurrentCollection/CollectionOperations.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script setup lang="ts">
2+
import { faDownload, faInfoCircle, faRedo } from "@fortawesome/free-solid-svg-icons";
3+
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
24
import { computed } from "vue";
35
import { useRouter } from "vue-router/composables";
46
@@ -36,7 +38,7 @@ function onDownload() {
3638
variant="link"
3739
:href="downloadUrl"
3840
@click="onDownload">
39-
<Icon class="mr-1" icon="download" />
41+
<FontAwesomeIcon class="mr-1" :icon="faDownload" />
4042
<span>Download</span>
4143
</b-button>
4244
<b-button
@@ -47,7 +49,7 @@ function onDownload() {
4749
variant="link"
4850
:href="showCollectionDetailsUrl"
4951
@click.prevent.stop="router.push(showCollectionDetailsUrl)">
50-
<icon icon="info-circle" />
52+
<FontAwesomeIcon class="mr-1" :icon="faInfoCircle" />
5153
<span>Show Details</span>
5254
</b-button>
5355
<b-button
@@ -58,7 +60,7 @@ function onDownload() {
5860
variant="link"
5961
:href="rerunUrl"
6062
@click.prevent.stop="router.push(rerunUrl)">
61-
<Icon class="mr-1" icon="redo" />
63+
<FontAwesomeIcon class="mr-1" :icon="faRedo" />
6264
<span>Run Job Again</span>
6365
</b-button>
6466
</b-button-group>

0 commit comments

Comments
 (0)