Skip to content

Commit 087aaa5

Browse files
authored
fix: app shows update button even there is no new release (#4628)
1 parent ab3b47f commit 087aaa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/screens/Settings/Engines/LocalEngineSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const LocalEngineSettings = ({ engine }: { engine: InferenceEngine }) => {
6060

6161
const isEngineUpdated =
6262
latestReleasedEngine &&
63-
latestReleasedEngine.every((item) =>
63+
latestReleasedEngine.some((item) =>
6464
item.name.includes(
6565
defaultEngineVariant?.version.replace(/^v/, '') as string
6666
)

0 commit comments

Comments
 (0)