summaryrefslogtreecommitdiffstats
path: root/client/components/lists
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-29 23:08:27 +0100
committerMaxime Quandalle <maxime@quandalle.com>2015-10-29 23:17:21 +0100
commitdd3cdf3945b26c70b00b5c9c1dd13c74eaed2f8b (patch)
tree3ba21510a19a09a5b50c0522caf74e0cd21c0e93 /client/components/lists
parente92f67f1910a0a3bc40b85436a89e7d55a04a615 (diff)
downloadwekan-dd3cdf3945b26c70b00b5c9c1dd13c74eaed2f8b.tar.gz
wekan-dd3cdf3945b26c70b00b5c9c1dd13c74eaed2f8b.tar.bz2
wekan-dd3cdf3945b26c70b00b5c9c1dd13c74eaed2f8b.zip
Fix some bugs introduced in aa974aa
Yes Wekan need some tests. Yes I need to stop refactoring my code when I’m halp-sleeping in my bed at 4am.
Diffstat (limited to 'client/components/lists')
-rw-r--r--client/components/lists/listHeader.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/lists/listHeader.js b/client/components/lists/listHeader.js
index ab547f02..dbf9fced 100644
--- a/client/components/lists/listHeader.js
+++ b/client/components/lists/listHeader.js
@@ -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());
}