PanelModel: Fix crash after window resize, fixes #16933 (#16942)

This commit is contained in:
Torkel Ödegaard
2019-05-08 17:21:46 +02:00
committed by GitHub
parent e97853abc9
commit f58ab7945b

View File

@@ -324,7 +324,7 @@ export class PanelModel {
}
hasTitle() {
return !!this.title.length;
return this.title && this.title.length > 0;
}
destroy() {