mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-05-24 00:24:06 +03:00
Adjustment in the CSS to show/hide pause button
This commit is contained in:
parent
dbb85cb759
commit
43012a720c
2 changed files with 6 additions and 4 deletions
|
@ -166,7 +166,7 @@ func SetClientStatus() echo.HandlerFunc {
|
|||
|
||||
client.Enabled = status
|
||||
db.Write("clients", clientID, &client)
|
||||
log.Infof("Change client %s to status %b", client.ID, status)
|
||||
log.Infof("Changed client %s enabled status to %v", client.ID, status)
|
||||
|
||||
return c.JSON(http.StatusOK, jsonHTTPResponse{true, "ok"})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue