From 179a0270e5a9b668aacf5258c9905b44bb1b96a6 Mon Sep 17 00:00:00 2001 From: Cesar <26280794+csrapr@users.noreply.github.com> Date: Mon, 30 Nov 2020 11:53:24 +0000 Subject: [PATCH] fix: rename humanReadable to display --- .../src/pages/Maintenance/MachineDetailsCard.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.js b/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.js index f755dd3f..4abaea31 100644 --- a/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.js +++ b/new-lamassu-admin/src/pages/Maintenance/MachineDetailsCard.js @@ -128,7 +128,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => { /> { onClick={() => setAction({ command: 'rename', - humanReadable: 'Rename', + display: 'Rename', confirmationMessage: 'Write the new name for this machine' }) }> @@ -190,7 +190,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => { onClick={() => setAction({ command: 'unpair', - humanReadable: 'Unpair' + display: 'Unpair' }) }> Unpair @@ -204,7 +204,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => { onClick={() => setAction({ command: 'reboot', - humanReadable: 'Reboot' + display: 'Reboot' }) }> Reboot @@ -218,7 +218,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => { onClick={() => setAction({ command: 'shutdown', - humanReadable: 'Shutdown', + display: 'Shutdown', message: 'In order to bring it back online, the machine will need to be visited and its power reset.' }) @@ -234,7 +234,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => { onClick={() => setAction({ command: 'restartServices', - humanReadable: 'Restart services for' + display: 'Restart services for' }) }> Restart Services