Machine.PoweredOn
parent
c704d1fe37
commit
18d05c5dcb
|
@ -33,6 +33,7 @@
|
|||
"Name": "Machine name",
|
||||
"IP": "IP",
|
||||
"MAC": "MAC address",
|
||||
"PoweredOn": "Powered on",
|
||||
"Actions": {
|
||||
"Wake": "Wake",
|
||||
"Ping": "Ping"
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
"Name": "Nume masina",
|
||||
"IP": "IP",
|
||||
"MAC": "Adresa MAC",
|
||||
"PoweredOn": "Pornit",
|
||||
"Actions": {
|
||||
"Wake": "Pornește",
|
||||
"Ping": "Ping"
|
||||
|
|
|
@ -56,12 +56,12 @@ const WakeComponent = ({ machine, addLog }) => {
|
|||
}, [machine, addLog, getCurrentDateTime, pingInterval, trigger]);
|
||||
|
||||
return (
|
||||
<Tooltip title={t("Machine.Actions.Wake")}>
|
||||
<Tooltip title={t(state.on ? "Machine.PoweredOn" : "Machine.Actions.Wake")}>
|
||||
<span>
|
||||
<IconButton
|
||||
id={`machine-${machine.machineId}-wake`}
|
||||
size={"small"}
|
||||
disabled={false}
|
||||
disabled={state.on}
|
||||
onClick={wakeMachine}
|
||||
style={state.on ? { color: "#33cc33" } : {}}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue