Fix the buttons data (which is ugly, to tell the truth)

This commit is contained in:
Benjamin Drieu 2022-09-14 15:44:45 +02:00 committed by Benjamin Drieu
parent 07e0112ad6
commit b4e3b8f0c7
1 changed files with 2 additions and 2 deletions

View File

@ -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 );