fix: rename humanReadable to display
This commit is contained in:
parent
35e71b9536
commit
179a0270e5
1 changed files with 6 additions and 6 deletions
|
|
@ -128,7 +128,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
|
||||||
/>
|
/>
|
||||||
<ConfirmDialog
|
<ConfirmDialog
|
||||||
open={confirmDialogOpen}
|
open={confirmDialogOpen}
|
||||||
title={`${action?.humanReadable} this machine?`}
|
title={`${action?.display} this machine?`}
|
||||||
errorMessage={errorMessage}
|
errorMessage={errorMessage}
|
||||||
toBeConfirmed={machine.name}
|
toBeConfirmed={machine.name}
|
||||||
message={action?.message}
|
message={action?.message}
|
||||||
|
|
@ -175,7 +175,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
setAction({
|
setAction({
|
||||||
command: 'rename',
|
command: 'rename',
|
||||||
humanReadable: 'Rename',
|
display: 'Rename',
|
||||||
confirmationMessage: 'Write the new name for this machine'
|
confirmationMessage: 'Write the new name for this machine'
|
||||||
})
|
})
|
||||||
}>
|
}>
|
||||||
|
|
@ -190,7 +190,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
setAction({
|
setAction({
|
||||||
command: 'unpair',
|
command: 'unpair',
|
||||||
humanReadable: 'Unpair'
|
display: 'Unpair'
|
||||||
})
|
})
|
||||||
}>
|
}>
|
||||||
Unpair
|
Unpair
|
||||||
|
|
@ -204,7 +204,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
setAction({
|
setAction({
|
||||||
command: 'reboot',
|
command: 'reboot',
|
||||||
humanReadable: 'Reboot'
|
display: 'Reboot'
|
||||||
})
|
})
|
||||||
}>
|
}>
|
||||||
Reboot
|
Reboot
|
||||||
|
|
@ -218,7 +218,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
setAction({
|
setAction({
|
||||||
command: 'shutdown',
|
command: 'shutdown',
|
||||||
humanReadable: 'Shutdown',
|
display: 'Shutdown',
|
||||||
message:
|
message:
|
||||||
'In order to bring it back online, the machine will need to be visited and its power reset.'
|
'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={() =>
|
onClick={() =>
|
||||||
setAction({
|
setAction({
|
||||||
command: 'restartServices',
|
command: 'restartServices',
|
||||||
humanReadable: 'Restart services for'
|
display: 'Restart services for'
|
||||||
})
|
})
|
||||||
}>
|
}>
|
||||||
Restart Services
|
Restart Services
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue