Skip to content

Commit

Permalink
apachegh-31: Adding the status label badge and color to the community…
Browse files Browse the repository at this point in the history
… account list
  • Loading branch information
dinukadesilva committed Oct 10, 2020
1 parent c1f3551 commit bc71cd9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custos-demo-gateway/src/components/workspace/Agents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
ref="selectableTable"
select-mode="single"
@row-selected="onCommunityAcSelected" caption-top>
<template v-slot:cell(status)="data">
<b-badge v-if="data.value == 'ACTIVE'" variant="success">Active</b-badge>
<b-badge v-else-if="data.value == 'DEACTIVE'" variant="danger">Inactive</b-badge>
<b-badge v-else-if="data.value == 'PENDING'" variant="warning">Pending</b-badge>
</template>
</b-table>
<div class="addAccItem">
<b-button variant="outline-primary" v-on:click="this.addAccount">Add Service Account</b-button>
Expand Down

0 comments on commit bc71cd9

Please sign in to comment.