mirror of
https://github.com/fankes/beszel.git
synced 2025-10-22 03:19:22 +08:00
updates
This commit is contained in:
@@ -17,7 +17,7 @@ export function Home() {
|
||||
setSystems((curSystems) => {
|
||||
const i = curSystems.findIndex((s) => s.id === e.record.id)
|
||||
if (i > -1) {
|
||||
const newSystems = [...systems]
|
||||
const newSystems = [...curSystems]
|
||||
newSystems[i] = e.record
|
||||
return newSystems
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user