Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-25 12:08:47 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-25 12:08:47 +0300
commitf71f0f5307d836c4b0a7e501e4af799a536f3454 (patch)
tree96a16aeb2ece04f78aa95e84c8fd9da973824a5d /app/assets/javascripts/editor
parente83b20c4f32415ecc6c76a33d6259bfca13ec250 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/editor')
-rw-r--r--app/assets/javascripts/editor/source_editor_extension.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/editor/source_editor_extension.js b/app/assets/javascripts/editor/source_editor_extension.js
index 6d47e1e2248..7b73da4465f 100644
--- a/app/assets/javascripts/editor/source_editor_extension.js
+++ b/app/assets/javascripts/editor/source_editor_extension.js
@@ -12,6 +12,6 @@ export default class EditorExtension {
}
get api() {
- return this.obj.provides?.();
+ return this.obj.provides?.() || {};
}
}