From b8566f5c78ad8455acc4024daff05dbffdc25dfe Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Wed, 11 Sep 2019 22:49:19 +0200 Subject: [PATCH] Remove undefined titles in StyleManager. Fixes #2248 --- src/style_manager/view/PropertyView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/style_manager/view/PropertyView.js b/src/style_manager/view/PropertyView.js index bb154b246..6ed8e7c1f 100644 --- a/src/style_manager/view/PropertyView.js +++ b/src/style_manager/view/PropertyView.js @@ -19,9 +19,9 @@ export default Backbone.View.extend({ }, templateLabel(model) { - const pfx = this.pfx; - const icon = model.get('icon'); - const info = model.get('info'); + const { pfx } = this; + const icon = model.get('icon') || ''; + const info = model.get('info') || ''; const parent = model.parent; return `