Skip to content

Commit

Permalink
Updates bookmark toggle function parameters
Browse files Browse the repository at this point in the history
Fixing bookmarking/unbookmarking workflows. Modifies the `toggleBookmark` function calls to include boolean arguments indicating the bookmark state.
  • Loading branch information
itisAliRH committed Nov 15, 2024
1 parent 90b57da commit bb10dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Workflow/List/WorkflowActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const runPath = computed(
title="Add to bookmarks"
tooltip="Add to bookmarks. This workflow will appear in the left tool panel."
size="sm"
@click="toggleBookmark">
@click="toggleBookmark(true)">
<FontAwesomeIcon v-if="!bookmarkLoading" :icon="farStar" fixed-width />
<FontAwesomeIcon v-else :icon="faSpinner" spin fixed-width />
</BButton>
Expand All @@ -93,7 +93,7 @@ const runPath = computed(
variant="link"
title="Remove bookmark"
size="sm"
@click="toggleBookmark">
@click="toggleBookmark(false)">
<FontAwesomeIcon v-if="!bookmarkLoading" :icon="faStar" fixed-width />
<FontAwesomeIcon v-else :icon="faSpinner" spin fixed-width />
</BButton>
Expand Down

0 comments on commit bb10dac

Please sign in to comment.