only show version dialog when frontend and backend version are not the same

This commit is contained in:
MaysWind
2025-06-30 21:49:24 +08:00
parent a68c45a923
commit 303f599f7d
+3
View File
@@ -110,8 +110,11 @@ function showVersion(): void {
} }
versionClickCount.value++; versionClickCount.value++;
if (serverDisplayVersion.value && serverDisplayVersion.value !== 'unknown' && serverDisplayVersion.value !== clientVersion) {
showAlert(versionMessage); showAlert(versionMessage);
} }
}
init(); init();
</script> </script>