File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
source/app/web/statics/insights Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 8585
8686 < template v-if ="metrics ">
8787
88+ < section class ="container ">
89+ < div class ="warning " v-if ="warnings.length ">
90+ < div v-for ="warning in warnings "> ⚠️ {{ warning.message }}</ div >
91+ </ div >
92+ </ section >
93+
8894 < section class ="container ">
8995 < a :href ="`https://github.com/${user}` " class ="user ">
9096 < img :src ="account.avatar ">
Original file line number Diff line number Diff line change 169169 params ( ) {
170170 return new URLSearchParams ( { from : location . href } )
171171 } ,
172+ warnings ( ) {
173+ return Object . entries ( this . metrics ?. rendered . plugins ?? { } ) . map ( ( [ _ , value ] ) => value ?. error ) . filter ( value => value )
174+ } ,
172175 stats ( ) {
173176 return this . metrics ?. rendered . user ?? null
174177 } ,
You can’t perform that action at this time.
0 commit comments