Commit 2769c4b4 authored by dbulatovicx32's avatar dbulatovicx32
Browse files

updated message, KNOWAGE-7029

parent 4f758879
......@@ -539,6 +539,7 @@
"detail2": "You can change it acting on the form below.",
"dropdownLabel": "Available hierarchies"
},
"notEditable": "Measure is not editable",
"openDesigner": "Open Designer",
"openDesignerMsg": "By opening designer you will lose all unsaved changes, are you sure?",
"outputWizard": {
......
......@@ -947,7 +947,7 @@ export default defineComponent({
} else if (this.checkIfModelIsLocked()) {
return this.$store.commit('setError', { title: this.$t('common.toast.errorTitle'), msg: this.$t('documentExecution.olap.editErrorLocked') })
} else if (!this.checkIfMeasureIsEditable(event.target.getAttribute('measurename'))) {
return this.$store.commit('setError', { title: this.$t('common.toast.errorTitle'), msg: 'NOT EDITABLE' })
return this.$store.commit('setError', { title: this.$t('common.toast.errorTitle'), msg: this.$t('documentExecution.olap.notEditable') })
} else {
// @ts-ignore
this.$refs.whatifInput.style.top = `${clickLocation.top}px`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment