From 81233db437491aba0c4a3714edd1d9212da55d22 Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 6 Jan 2026 17:20:46 +0100 Subject: [PATCH] Fixing wrong modal title if edited over toolbar --- src/frontend/src/pages/CalculationMassEdit.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/pages/CalculationMassEdit.vue b/src/frontend/src/pages/CalculationMassEdit.vue index 6b2e345..e63fe54 100644 --- a/src/frontend/src/pages/CalculationMassEdit.vue +++ b/src/frontend/src/pages/CalculationMassEdit.vue @@ -490,6 +490,8 @@ export default { }, fillData(type, id = -1, hideDescription = false) { + this.modalTitle = "Edit ".concat(type); + if (id === -1) { if (type === 'price') @@ -526,8 +528,6 @@ export default { } else { const premise = this.premiseEditStore.getById(id); - this.modalTitle = "Edit ".concat(type); - if (type === "price") { this.modalProps = { price: premise.material_cost,