mirror of
https://github.com/unraid/api.git
synced 2026-05-05 14:41:54 -05:00
chore(web): state todo
This commit is contained in:
+1
@@ -37,6 +37,7 @@ $serverState = [
|
||||
"avatar" => (!empty($myservers['remote']['avatar']) && $connectPluginInstalled) ? $myservers['remote']['avatar'] : '',
|
||||
"config" => [
|
||||
'valid' => ($var['configValid'] === 'yes'),
|
||||
/** @todo remove error key value when config is valid */
|
||||
'error' => isset($configErrorEnum[$var['configValid']]) ? $configErrorEnum[$var['configValid']] : 'UNKNOWN_ERROR',
|
||||
],
|
||||
"connectPluginInstalled" => $connectPluginInstalled,
|
||||
|
||||
Reference in New Issue
Block a user