Unify product cards and edit packaged amounts by pack
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m13s
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m13s
This commit is contained in:
@@ -26,7 +26,7 @@ import {
|
||||
renderCalendarGrid,
|
||||
syncCalendarTodayButton,
|
||||
} from './mealCalendar.js?v=1';
|
||||
import { createIngredientCardController, getIngredientCardHTML } from './ingredientCard.js?v=20260410-106';
|
||||
import { createIngredientCardController, getIngredientCardHTML } from './ingredientCard.js?v=20260410-107';
|
||||
|
||||
function esc(s) {
|
||||
return String(s).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"');
|
||||
@@ -674,6 +674,7 @@ export function setupMealPlanEditor() {
|
||||
ingredientId: eid,
|
||||
productId: cardBtn.dataset.pid || null,
|
||||
selectedProductId: cardBtn.dataset.pid || null,
|
||||
allowProductSelection: !cardBtn.dataset.pid,
|
||||
sourceNote: 'Z planera',
|
||||
onProductChange: (nextProductId) => {
|
||||
if (!nextProductId) return;
|
||||
|
||||
Reference in New Issue
Block a user