This website works better with JavaScript.
Home
Explore
Help
Sign In
public
/
postgrest-mithril
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Table: initialize data only the component is visible
master
Bing Sun
5 years ago
parent
f9b20f01f7
commit
5fc4d880c4
Signed by:
sunb
GPG Key ID:
F7795F8C590626AB
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/components/Table.js
+ 1
- 1
src/components/Table.js
View File
@@ -79,7 +79,7 @@ export default initial_vnode => {
generate_pages()
// initialize data
if (model.ambient_changed()) {
if (model.ambient_changed()
&& vnode.attrs.show
) {
offset = 0
model.select(offset, limit)
}
Write
Preview
Loading…
Cancel
Save