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 85
85
86
86
< template v-if ="metrics ">
87
87
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
+
88
94
< section class ="container ">
89
95
< a :href ="`https://github.com/${user}` " class ="user ">
90
96
< img :src ="account.avatar ">
Original file line number Diff line number Diff line change 169
169
params ( ) {
170
170
return new URLSearchParams ( { from : location . href } )
171
171
} ,
172
+ warnings ( ) {
173
+ return Object . entries ( this . metrics ?. rendered . plugins ?? { } ) . map ( ( [ _ , value ] ) => value ?. error ) . filter ( value => value )
174
+ } ,
172
175
stats ( ) {
173
176
return this . metrics ?. rendered . user ?? null
174
177
} ,
You can’t perform that action at this time.
0 commit comments