Skip to content

Commit

Permalink
add faTimes icon to Hide button in multiview
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed May 30, 2024
1 parent e4bf56d commit 99f3f15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/src/components/History/Multiple/MultipleViewItem.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<script setup lang="ts">
import { library } from "@fortawesome/fontawesome-svg-core";
import { faTimes } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { BButton } from "bootstrap-vue";
import { storeToRefs } from "pinia";
import { computed, ref } from "vue";
Expand All @@ -11,6 +14,8 @@ import CollectionPanel from "@/components/History/CurrentCollection/CollectionPa
import HistoryPanel from "@/components/History/CurrentHistory/HistoryPanel.vue";
import LoadingSpan from "@/components/LoadingSpan.vue";
library.add(faTimes);
interface Props {
source: {
id: string;
Expand Down Expand Up @@ -62,6 +67,7 @@ function onViewCollection(collection: object) {
variant="outline-danger"
title="Hide this history from the list"
@click="historyStore.unpinHistories([source.id])">
<FontAwesomeIcon :icon="faTimes" />
Hide
</BButton>
</div>
Expand Down

0 comments on commit 99f3f15

Please sign in to comment.