mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 23:59:45 +02:00
fix: Shopping List Label Dropdown Doesn't Save Correctly (#2361)
* only update items by label on refresh * made changes more responsive * fast re-order items when labels are re-ordered
This commit is contained in:
parent
fe17922bb8
commit
75698c531a
2 changed files with 29 additions and 14 deletions
|
@ -138,6 +138,10 @@ export default defineComponent({
|
|||
});
|
||||
const edit = ref(false);
|
||||
function toggleEdit(val = !edit.value) {
|
||||
if (edit.value === val) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (val) {
|
||||
// update local copy of item with the current value
|
||||
localListItem.value = props.value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue