File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const Intro = () => (
27
27
< hr className = "my-4" />
28
28
< p >
29
29
On this page you can find different examples of OrbitDB databases. < br />
30
- Other visitors can also interact in real-time with the data. < br />
30
+ Other visitors/browsers can interact in real-time with the data. < br />
31
31
< br />
32
32
< b > No server!</ b >
33
33
</ p >
@@ -122,6 +122,13 @@ const DocStoreDemo = () => {
122
122
</ h5 >
123
123
< table className = "table table-striped" >
124
124
< tbody >
125
+ { /* add an hidden row so strip color cycle on each new event */ }
126
+ { ( records . length % 2 && (
127
+ < tr style = { { display : "none" } } >
128
+ < td > </ td >
129
+ </ tr >
130
+ ) ) ||
131
+ null }
125
132
{ records
126
133
. reverse ( )
127
134
. slice ( 0 , 10 )
@@ -199,6 +206,13 @@ const KeyValueDemo = () => {
199
206
</ h5 >
200
207
< table className = "table table-striped" >
201
208
< tbody >
209
+ { /* add an hidden row so strip color cycle on each new event */ }
210
+ { ( Object . keys ( records ) . length % 2 && (
211
+ < tr style = { { display : "none" } } >
212
+ < td > </ td >
213
+ </ tr >
214
+ ) ) ||
215
+ null }
202
216
{ Object . keys ( records )
203
217
. reverse ( )
204
218
. slice ( 0 , 10 )
You can’t perform that action at this time.
0 commit comments