fix: app shows update button even there is no new release (#4628)
This commit is contained in:
parent
ab3b47f134
commit
087aaa5a55
@ -60,7 +60,7 @@ const LocalEngineSettings = ({ engine }: { engine: InferenceEngine }) => {
|
|||||||
|
|
||||||
const isEngineUpdated =
|
const isEngineUpdated =
|
||||||
latestReleasedEngine &&
|
latestReleasedEngine &&
|
||||||
latestReleasedEngine.every((item) =>
|
latestReleasedEngine.some((item) =>
|
||||||
item.name.includes(
|
item.name.includes(
|
||||||
defaultEngineVariant?.version.replace(/^v/, '') as string
|
defaultEngineVariant?.version.replace(/^v/, '') as string
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user