Skip to content

Commit

Permalink
Merge pull request #16500 from dannon/fix-history-item-states-help-color
Browse files Browse the repository at this point in the history
[23.1] Fix history item states help display to apply same styling attributes
  • Loading branch information
dannon authored Aug 3, 2023
2 parents 03c05dd + 73a0edd commit baf1a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/History/Content/model/StatesInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ function onFilter(value: string) {
<p>Here are all available item states in Galaxy:</p>
<p><i>(Note that the colors for each state correspond to content item state colors in the history)</i></p>
<dl v-for="(state, key, index) in states" :key="index">
<b-alert :variant="state.status || 'success'" show>
<div :class="['alert', 'content-item', 'alert-' + state.status]" :data-state="key">
<dt>
<a class="text-decoration-none" href="javascript:void(0)" @click="onFilter(key)"
><code>{{ key }}</code></a
>
<icon v-if="state.icon" :icon="state.icon" />
</dt>
<dd>{{ helpText[key] || state.text }}</dd>
</b-alert>
</div>
</dl>
</b-modal>
</template>

0 comments on commit baf1a34

Please sign in to comment.