diff --git a/packages/client/src/components/MkStarButton.vue b/packages/client/src/components/MkStarButton.vue
index f0a95ab42c..6aa320c67e 100644
--- a/packages/client/src/components/MkStarButton.vue
+++ b/packages/client/src/components/MkStarButton.vue
@@ -1,11 +1,12 @@
-
diff --git a/packages/client/src/pages/admin/index.vue b/packages/client/src/pages/admin/index.vue
index 507660d58c..fb6fcc5ca9 100644
--- a/packages/client/src/pages/admin/index.vue
+++ b/packages/client/src/pages/admin/index.vue
@@ -69,9 +69,9 @@ os.api('admin/abuse-user-reports', {
});
os.api('latest-version').then(res => {
- const cleanRes = parseInt(res?.tag_name.replace(/[^0-9]/g, ''), 10);
- const cleanVersion = parseInt(version.replace(/[^0-9]/g, ''), 10);
- if (cleanRes > cleanVersion) {
+ const cleanRes = res?.tag_name.replace(/[^0-9]/g, '');
+ const cleanVersion = version.replace(/[^0-9]/g, '');
+ if (cleanRes !== cleanVersion) {
updateAvailable = true;
}
});