Skip to content

Commit

Permalink
Merge pull request #510 from AOEpeople/bugfix/#265283-missing-lock-re…
Browse files Browse the repository at this point in the history
…moval

fixed a bug that occured when trying to join a combi meal when no mor…
  • Loading branch information
MalibusParty authored Aug 15, 2024
2 parents fdab970 + aabf113 commit fe58d17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Resources/src/components/dashboard/MealCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const checkboxCSS = computed(() => {
});
async function handle() {
console.log('click');
// Meal is being offered by someone to be taken over
if (mealOrVariation.value?.hasOffers === true && mealOrVariation.value.mealState === MealState.TRADEABLE) {
let slugs = [mealOrVariation.value.dishSlug as string];
Expand Down Expand Up @@ -263,5 +264,6 @@ async function closeCombiModal(slugs: string[]) {
if (slugs !== undefined) {
await joinMeal(slugs);
}
removeLock(String(props.dayID));
}
</script>

0 comments on commit fe58d17

Please sign in to comment.