提交 22f2f231 编写于 作者: P Phil Hughes

Fixed JS error when trying to remove list that wasnt defined

上级 2cb4231d
......@@ -71,6 +71,9 @@
},
removeList: function (id) {
const list = this.findList('id', id);
if (!list) return;
list.destroy();
this.state.lists = _.reject(this.state.lists, (list) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册