mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-01 10:43:25 -04: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user