Skip to content

Commit

Permalink
Improved: method name for checking if group type is changed or not (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Mar 19, 2024
1 parent 3b9a47d commit 3f19c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/GroupTypeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</form>

<ion-fab vertical="bottom" horizontal="end" slot="fixed">
<ion-fab-button :disabled="!areGroupTypesUpdated()" @click="saveGroupType()">
<ion-fab-button :disabled="!isGroupTypeUpdated()" @click="saveGroupType()">
<ion-icon :icon="saveOutline" />
</ion-fab-button>
</ion-fab>
Expand Down Expand Up @@ -119,7 +119,7 @@ export default defineComponent({
logger.error(err)
}
},
areGroupTypesUpdated() {
isGroupTypeUpdated() {
return this.facilityGroup.facilityGroupTypeId !== this.facilityGroupValue.facilityGroupTypeId
}
},
Expand Down

0 comments on commit 3f19c12

Please sign in to comment.