Commit 545298571be66be4f361b65df10a9ddbd073c492
/network : make default view show 1 day
mixmix committed on 12/1/2018, 9:09:47 AMParent: dd67652a2a492f8668f29984959b814c9e3cfe6d
Files changed
app/page/network.js | changed |
app/page/network.js | ||
---|---|---|
@@ -31,9 +31,9 @@ | ||
31 | 31 … | } |
32 | 32 … | |
33 | 33 … | function networkPage (location) { |
34 | 34 … | const minsPerStep = 20 |
35 | - const scale = 7 * DAY | |
35 … | + const scale = 1 * DAY | |
36 | 36 … | |
37 | 37 … | const data = Dict({ |
38 | 38 … | [toTimeBlock(Date.now(), minsPerStep) + minsPerStep * MINUTE]: 0, |
39 | 39 … | [toTimeBlock(Date.now(), minsPerStep) + minsPerStep * MINUTE - scale]: 0 |
Built with git-ssb-web