👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2019-09-03 16:15:32 +02:00
parent 047167f80b
commit 014972a0c0

View file

@ -89,8 +89,8 @@ export default mixins(
return null;
},
nodeTypeDescription (): string {
if (this.nodeType.description) {
return this.nodeType.description;
if (this.nodeType!.description) {
return this.nodeType!.description;
} else {
return 'No description found';
}