mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
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.
This commit is contained in:
parent
e92f67f191
commit
dd3cdf3945
4 changed files with 8 additions and 6 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue