]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/Dashboard.js
dashboard: show ten of the current top receiver
[pmg-gui.git] / js / Dashboard.js
index d03510edfbb50e1051d4271952d401a4b593de90..9c51734b4ce0db27b6992a25fa597643b3959ceb 100644 (file)
@@ -283,6 +283,7 @@ Ext.define('PMG.Dashboard', {
                    url: '/api2/json/statistics/recentreceivers',
                    extraParams: {
                        hours: '{hours}',
+                       limit: 10, // make this also configurable?
                    },
                },
                fields: [
@@ -427,7 +428,7 @@ Ext.define('PMG.Dashboard', {
            iconCls: 'fa fa-list',
            title: gettext('Top Receivers'),
 
-           bodyPadding: '20 20 20 20',
+           bodyPadding: '10 10 10 10',
            layout: {
                type: 'vbox',
                pack: 'center',