From c6f21804d73dd000dc8af3fbbd4e16b2dd79c4cc Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 9 Nov 2020 12:35:44 +0100 Subject: [PATCH] :shirt: Fix lint issue --- packages/editor-ui/src/components/DataDisplay.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/editor-ui/src/components/DataDisplay.vue b/packages/editor-ui/src/components/DataDisplay.vue index 58a7849e04..c694173540 100644 --- a/packages/editor-ui/src/components/DataDisplay.vue +++ b/packages/editor-ui/src/components/DataDisplay.vue @@ -66,6 +66,10 @@ export default Vue.extend({ }, computed: { documentationUrl (): string { + if (!this.nodeType) { + return ''; + } + if (this.nodeType.documentationUrl && this.nodeType.documentationUrl.startsWith('http')) { return this.nodeType.documentationUrl; }