Commit 6c811d47 authored by Clement Ho's avatar Clement Ho

Remove show() as it is automatically called on setData when there is data

parent 513cdda3
...@@ -87,8 +87,6 @@ require('../window')(function(w){ ...@@ -87,8 +87,6 @@ require('../window')(function(w){
if (onlyDynamicList && data.length === 0) { if (onlyDynamicList && data.length === 0) {
self.hook.list.hide(); self.hook.list.hide();
} else if (onlyDynamicList && data.length !== 0) {
self.hook.list.show();
} }
self.hook.list.setData.call(self.hook.list, data); self.hook.list.setData.call(self.hook.list, data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment