fix: app shows update button even there is no new release (#4628)

This commit is contained in:
Louis 2025-02-11 15:29:24 +07:00 committed by GitHub
parent ab3b47f134
commit 087aaa5a55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ const LocalEngineSettings = ({ engine }: { engine: InferenceEngine }) => {
const isEngineUpdated =
latestReleasedEngine &&
latestReleasedEngine.every((item) =>
latestReleasedEngine.some((item) =>
item.name.includes(
defaultEngineVariant?.version.replace(/^v/, '') as string
)