👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2020-11-09 12:35:44 +01:00
parent 639bdd2ceb
commit c6f21804d7

View file

@ -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;
}