Fixing wrong modal title if edited over toolbar
This commit is contained in:
parent
8d85e4c692
commit
81233db437
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue