Skip to content

Commit

Permalink
Merge pull request #236 from Killer2OP/patch--1
Browse files Browse the repository at this point in the history
Save button updated
  • Loading branch information
ymaheshwari1 authored Nov 14, 2023
2 parents f8535c3 + 44d01c1 commit 65f3b35
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/MissingFacilitiesModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</ion-list>

<ion-fab vertical="bottom" horizontal="end" slot="fixed">
<ion-fab-button @click="save">
<ion-fab-button :disabled="!Object.keys(itemsByFacilityId).length" @click="save">
<ion-icon :icon="saveOutline" />
</ion-fab-button>
</ion-fab>
Expand Down Expand Up @@ -97,7 +97,6 @@ export default defineComponent({
} else {
this.store.dispatch('stock/updateMissingFacilities', this.facilityMapping)
}
this.closeModal();
showToast(translate("Changes have been successfully applied"));
},
Expand All @@ -123,4 +122,4 @@ export default defineComponent({
};
},
});
</script>
</script>

0 comments on commit 65f3b35

Please sign in to comment.