Commit 03f206b5caffdc75752b1f925d2ee4b85abe049a
Add scroller to /network. Fix #301
Anders Rune Jensen committed on 1/15/2019, 7:49:53 PMParent: 3068af308439c6051b8c9e06bc9316b15827aa23
Files changed
app/page/network.js | changed |
app/page/network.js | ||
---|---|---|
@@ -15,8 +15,9 @@ | ||
15 | 15 … | }) |
16 | 16 … | |
17 | 17 … | exports.needs = nest({ |
18 | 18 … | 'about.html.avatar': 'first', |
19 … | + 'app.html.scroller': 'first', | |
19 | 20 … | 'app.sync.goTo': 'first', |
20 | 21 … | 'sbot.obs.connection': 'first', |
21 | 22 … | 'sbot.obs.localPeers': 'first', |
22 | 23 … | 'sbot.obs.connectedPeers': 'first' |
@@ -79,9 +80,11 @@ | ||
79 | 80 … | ]) |
80 | 81 … | |
81 | 82 … | initialiseChart({ canvas, state }) |
82 | 83 … | |
83 | - return page | |
84 … | + var { container } = api.app.html.scroller({ prepend: page }) | |
85 … | + container.title = '/network' | |
86 … | + return container | |
84 | 87 … | } |
85 | 88 … | } |
86 | 89 … | |
87 | 90 … | function initialiseChart ({ canvas, state: { data, range } }) { |
Built with git-ssb-web