ui(admin): fix oom killer setting toggle

This commit is contained in:
Matthew Penner 2023-01-17 11:43:26 -07:00
parent f6cf4a1236
commit 450fba00bc
No known key found for this signature in database
10 changed files with 18 additions and 23 deletions

View file

@ -64,7 +64,7 @@ class ServerTransformer extends Transformer
'disk' => $model->disk,
'io' => $model->io,
'memory' => $model->memory,
'oom_disabled' => $model->oom_disabled,
'oom_killer' => !$model->oom_disabled,
'swap' => $model->swap,
'threads' => $model->threads,
],