performance: Launch the Cockpit graphs directly if possible

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2020-05-12 11:19:20 -07:00 committed by James Valleroy
parent d93de4fa61
commit f74ca9044a
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -4,12 +4,13 @@ FreedomBox app for System Monitoring (cockpit-pcp) in System.
""" """
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from plinth.clients import validate from plinth.clients import validate
clients = validate([{ clients = validate([{
'name': _('Cockpit'), 'name': _('Cockpit'),
'platforms': [{ 'platforms': [{
'type': 'web', 'type': 'web',
'url': '/_cockpit/' 'url': '/_cockpit/system/graphs'
}] }]
}]) }])