feat(app/metrics): warn about missing extras features permissions (closes #1177)

This commit is contained in:
lowlighter
2022-12-19 19:46:08 -05:00
parent d2ac7b6266
commit d14f49fce2
2 changed files with 9 additions and 0 deletions

View File

@@ -169,6 +169,9 @@
params() {
return new URLSearchParams({from: location.href})
},
warnings() {
return Object.entries(this.metrics?.rendered.plugins ?? {}).map(([_, value]) => value?.error).filter(value => value)
},
stats() {
return this.metrics?.rendered.user ?? null
},