We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b87d206 commit 1facabdCopy full SHA for 1facabd
src/fragments/forms/map-form/components/optimization/components/edit-dialog/edit-dialog.js
@@ -107,11 +107,11 @@ export default {
107
}
108
},
109
headerText () {
110
- if (this.editId === 0) {
111
- return this.content.header
112
- } else {
113
- return this.content.header + ' - editing ' + this.editId
+ let editing = ''
+ if (!(this.editId === 0)) {
+ editing = ' - editing ' + this.editId
114
+ return this.content.header + editing
115
116
// returns true if start and end point are the same
117
sameStartEndPoint () {
0 commit comments