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: set the component default to visible
master
Bing Sun
5 years ago
parent
cf09335e5d
commit
61b39617d3
Signed by:
sunb
GPG Key ID:
F7795F8C590626AB
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/components/Table.js
+ 3
- 0
src/components/Table.js
View File
@@ -78,6 +78,9 @@ export default initial_vnode => {
// refresh paginations
generate_pages()
// normalize vm
if (typeof vnode.attrs.show == 'undefined') vnode.attrs.show = true
// initialize data
if (model.ambient_changed() && vnode.attrs.show) {
offset = 0
Write
Preview
Loading…
Cancel
Save