|
@@ -5,8 +5,8 @@ BlazeComponent.extendComponent({
|
|
|
|
|
|
editTitle(evt) {
|
|
|
evt.preventDefault();
|
|
|
- const newTitle = this.childrenComponents('inlinedForm')[0].getValue();
|
|
|
- const list = this.currentData().trim();
|
|
|
+ const newTitle = this.childrenComponents('inlinedForm')[0].getValue().trim();
|
|
|
+ const list = this.currentData();
|
|
|
if (newTitle) {
|
|
|
list.rename(newTitle.trim());
|
|
|
}
|