mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
appcatalog: consider app lvl8 as high quality
This commit is contained in:
parent
a90cc5f160
commit
cff734a76c
1 changed files with 3 additions and 4 deletions
|
@ -270,11 +270,10 @@ export default {
|
|||
for (const key in data.apps) {
|
||||
const app = data.apps[key]
|
||||
app.isInstallable = !app.installed || app.manifest.integration.multi_instance
|
||||
app.working = app.state === 'working'
|
||||
app.working = app.state === 'working' && app.level > 0
|
||||
app.decent_quality = app.working && app.level > 4
|
||||
app.color = app.high_quality || app.level > 4
|
||||
? 'success'
|
||||
: app.working ? 'warning' : 'danger'
|
||||
app.high_quality = app.working && app.level >= 8
|
||||
app.color = app.decent_quality ? 'success' : app.working ? 'warning' : 'danger'
|
||||
if (app.working && app.level <= 4) {
|
||||
app.state = 'lowquality'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue