fix: reload machine name on change
This commit is contained in:
parent
1c8d542080
commit
cd7500181e
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ const MachineRoute = () => {
|
|||
)
|
||||
}
|
||||
|
||||
const Machines = ({ data, refetch, reload }) => {
|
||||
const Machines = ({ data, refetch }) => {
|
||||
const timezone = R.path(['config', 'locale_timezone'], data) ?? {}
|
||||
|
||||
const machine = R.path(['machine'])(data) ?? {}
|
||||
|
|
@ -112,7 +112,7 @@ const Machines = ({ data, refetch, reload }) => {
|
|||
{machineName}
|
||||
</TL2>
|
||||
</Breadcrumbs>
|
||||
<Overview data={machine} onActionSuccess={reload} />
|
||||
<Overview data={machine} onActionSuccess={refetch} />
|
||||
</div>
|
||||
<div className="basis-3/4 max-w-3/4 flex flex-col mt-6">
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue