Skip to content

Commit

Permalink
Improved: Displayed facility count in chip (#293).
Browse files Browse the repository at this point in the history
  • Loading branch information
ravilodhi committed Aug 13, 2024
1 parent c14031e commit 447ecee
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/views/FindGroups.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@
</ion-item>
<ion-item>
<ion-label>{{ translate('Facilities') }}</ion-label>
<ion-label slot="end">{{ group.facilityCount }}</ion-label>
<ion-button @click="manageFacilities(group)" fill="clear" slot="end">
<ion-icon :icon="settingsOutline" slot="icon-only"/>
</ion-button>
<ion-chip outline slot="end" @click="manageFacilities(group)">
{{ group.facilityCount}}
</ion-chip>
</ion-item>
<ion-button fill="clear" @click="updateGroupDescriptionModal(group)">
{{translate('Edit details')}}
Expand Down Expand Up @@ -147,7 +146,7 @@ import {
createAnimation
} from '@ionic/vue';
import { defineComponent } from 'vue';
import { ellipsisVerticalOutline, addOutline, bagHandleOutline, businessOutline, settingsOutline } from 'ionicons/icons';
import { ellipsisVerticalOutline, addOutline, bagHandleOutline, businessOutline } from 'ionicons/icons';
import { useRouter } from 'vue-router';
import { mapGetters, useStore } from 'vuex';
import { translate } from '@hotwax/dxp-components'
Expand Down Expand Up @@ -368,7 +367,6 @@ export default defineComponent({
businessOutline,
customSort,
ellipsisVerticalOutline,
settingsOutline,
router,
store,
translate
Expand Down

0 comments on commit 447ecee

Please sign in to comment.