mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-05-24 01:12:54 -04:00
feat: sort labels by name,asc in shopping lists (#4253)
This commit is contained in:
parent
82737613b4
commit
2053f29ff8
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user