Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Yves <[email protected]>
  • Loading branch information
docjyJ committed Dec 17, 2024
1 parent 74039d1 commit e2bce7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions php/src/Data/ConfigurationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -990,11 +990,11 @@ private function GetEnabledNvidiaGPUMode() : string {
}

public function isNvidiaRuntimeEnabled() : bool {
$this->GetEnabledNvidiaGPUMode() === 'runtime'
return $this->GetEnabledNvidiaGPUMode() === 'runtime';
}

public function isNvidiaDeployEnabled() : bool {
$this->GetEnabledNvidiaGPUMode() === 'deploy'
return $this->GetEnabledNvidiaGPUMode() === 'deploy';
}

private function GetKeepDisabledApps() : string {
Expand Down
2 changes: 1 addition & 1 deletion php/templates/includes/aio-config.twig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<p>
{% if is_nvidia_runtime_enabled == true %}
Nvidia runtime is enabled.
{% elseif is_nvidia_gpu_deploy_enabled = true %}
{% elseif is_nvidia_gpu_deploy_enabled == true %}
Nvidia GPU access is enabled.
{% else %}
Nvidia GPU access is disabled.
Expand Down

0 comments on commit e2bce7e

Please sign in to comment.