File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 8
8
"scripts" : {
9
9
"db" : " json-server --watch demo/db.json" ,
10
10
"build" : " npx webpack --mode production" ,
11
- "start" : " npx webpack --watch --mode development"
11
+ "start" : " npx webpack --watch --mode development" ,
12
+ "prepublishOnly" : " npm run build"
12
13
},
13
14
"repository" : {
14
15
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class BracketsViewer {
89
89
if ( participant !== undefined ) {
90
90
const cell = $ ( '<td>' ) . text ( participant . name ) ;
91
91
const id = participant . id ;
92
-
92
+
93
93
this . teamRefsDOM [ id ] . push ( cell . get ( 0 ) ) ;
94
94
cell . hover (
95
95
( ) => $ ( this . teamRefsDOM [ id ] ) . addClass ( 'hover' ) ,
@@ -226,6 +226,9 @@ class BracketsViewer {
226
226
nameDOM . text ( participant === undefined ? 'TBD' : participant . name ) ;
227
227
scoreDOM . text ( team . score === undefined ? '-' : team . score ) ;
228
228
229
+ if ( team . position !== undefined )
230
+ nameDOM . append ( $ ( '<span>' ) . text ( ` (#${ team . position } )` ) ) ;
231
+
229
232
if ( team . result && team . result === 'win' ) {
230
233
nameDOM . addClass ( 'win' ) ;
231
234
scoreDOM . addClass ( 'win' ) ;
Original file line number Diff line number Diff line change @@ -241,6 +241,10 @@ h3 {
241
241
& .win {
242
242
font-weight : bold ;
243
243
}
244
+
245
+ & > span {
246
+ color : rgb (170 , 170 , 170 );
247
+ }
244
248
}
245
249
246
250
.score {
You can’t perform that action at this time.
0 commit comments