Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sort labels by name,asc in shopping lists #4253

Merged
merged 8 commits into from
Sep 24, 2024
10 changes: 0 additions & 10 deletions frontend/pages/shopping-lists/_id.vue
Original file line number Diff line number Diff line change
Expand Up @@ -788,16 +788,6 @@ export default defineComponent({
itemsByLabel.value = itemsSorted;
}

async function refreshLabels() {
const { data } = await userApi.multiPurposeLabels.getAll();

if (data) {
allLabels.value = data.items ?? [];
}
}

refreshLabels();

// =====================================
// Add/Remove Recipe References

Expand Down
Loading