mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: monaco build problems
This commit is contained in:
@@ -57,12 +57,11 @@ export default mixins(genericHelpers).extend({
|
||||
readOnly: this.isReadOnly,
|
||||
});
|
||||
|
||||
this.monacoInstance.onDidChangeModelContent((ev) => {
|
||||
if (this.monacoInstance) {
|
||||
const model = this.monacoInstance.getModel();
|
||||
if (model) {
|
||||
this.$emit('valueChanged', model.getValue());
|
||||
}
|
||||
this.monacoInstance.onDidChangeModelContent(() => {
|
||||
const model = this.monacoInstance!.getModel();
|
||||
|
||||
if (model) {
|
||||
this.$emit('valueChanged', model.getValue());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user