Skip to content

Commit

Permalink
fix: update GPU banner when Podman connection changes (#1755)
Browse files Browse the repository at this point in the history
Fixes #1754

Signed-off-by: Jeff MAURY <jmaury@redhat.com>
  • Loading branch information
jeffmaury committed Sep 23, 2024
1 parent 1316e6f commit 1511c31
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ $: if (typeof model?.memory === 'number' && containerProviderConnection) {
connectionInfo = undefined;
console.error(err);
});
if (fromStore(configuration)?.current?.experimentalGPU && shouldRecommendGPU(containerProviderConnection)) {
gpuWarningRequired = true;
}
gpuWarningRequired = !!(
fromStore(configuration)?.current?.experimentalGPU && shouldRecommendGPU(containerProviderConnection)
);
} else {
connectionInfo = undefined;
}
Expand Down

0 comments on commit 1511c31

Please sign in to comment.