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

This commit is contained in:
Seamus Lowry 2024-09-24 17:33:30 -04:00 committed by GitHub
parent 82737613b4
commit 2053f29ff8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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