Skip to content

Commit

Permalink
Added support class for type field
Browse files Browse the repository at this point in the history
  • Loading branch information
conlan0 authored Oct 5, 2023
1 parent efc8b90 commit 01c4a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmm files/AlertsOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
</q-td>
</template>

<template v-slot:body-cell-alert_type="props">
<template v-slot:body-cell-alert_type="props"> //apply support-alert-class to the alert type text if its support
<q-td :props="props">
<div :class="{'support-alert-class': props.row.alert_type === 'support'}">{{ props.row.alert_type }}</div>
</q-td>
Expand All @@ -221,7 +221,7 @@
</q-dialog>
</template>

<style>
<style> //added styling for the green bubble
.support-alert-class {
background-color: #4fbb4f;
color: #fff;
Expand Down

0 comments on commit 01c4a46

Please sign in to comment.