From 85261c0b08bd4c1ce4a3b893b9402ae15afbc418 Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 21 Sep 2023 17:27:08 +0900 Subject: [PATCH] fix: show update popup (close #66) --- packages/client/src/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index 5d4f304b..89fe0ae4 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -254,7 +254,7 @@ function checkForSplash() { // 変なバージョン文字列来るとcompareVersionsでエラーになるため if ( lastVersion != null && - compareVersions(version, lastVersion) === 1 && + version !== lastVersion && defaultStore.state.showUpdates ) { // ログインしてる場合だけ