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,