From b4e3b8f0c77cac0c8b51c3ba0c5de4b69221df49 Mon Sep 17 00:00:00 2001 From: Benjamin Drieu Date: Wed, 14 Sep 2022 15:44:45 +0200 Subject: [PATCH] Fix the buttons data (which is ugly, to tell the truth) --- extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension.js b/extension.js index 4b5cdf4..d2bec00 100644 --- a/extension.js +++ b/extension.js @@ -483,7 +483,7 @@ class Indicator extends PanelMenu.Button { entry [ _col.name ] = ''; } - infoBox.add_child ( this.createBin ( entry.status, entry [ _col.name ], _col.size, column_definitions [ _col.name ] ) ); + infoBox.add_child ( this.createBin ( entry.status, ( _col.name == 'actions' ? entry : entry [ _col.name ] ), _col.size, column_definitions [ _col.name ] ) ); } _row ++; @@ -569,7 +569,7 @@ class Indicator extends PanelMenu.Button { _onRecheckButtonClick ( e ) { this.spinChildOf ( e ); -// monitoLog ( JSON.stringify ( e.service ) ); +// monitoLog ( JSON.stringify ( e ) ); e.service.button = e; this.serverLogic.recheck ( e.service );