버전 관리 시스템 최종 완료: 디버그 정보 제거 및 UI 최적화 (v0.4.0)
This commit is contained in:
parent
15c4b35ac9
commit
db61521e4a
@ -133,11 +133,6 @@ export function VersionPage() {
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Debug Info (Only for internal check) */}
|
||||
<div className="mb-4 p-2 bg-slate-100 rounded text-[10px] text-slate-500 font-mono">
|
||||
[Debug] NeedsUpdate: {String(needsUpdate)}, Remote: {remoteInfo ? 'Loaded' : 'Loading...'}, Current: {currentVersion}, Latest: {remoteInfo?.latest}, LatestInfo: {remoteInfo?.latestInfo ? 'Present' : 'Missing'}
|
||||
</div>
|
||||
|
||||
{/* Update Alert Banner - Based on Frontend Version comparison */}
|
||||
{needsUpdate && !updateResult && remoteInfo?.latestInfo && (
|
||||
<div className={`mb-8 p-6 border-2 rounded-2xl shadow-xl flex flex-col md:flex-row items-center justify-between gap-6 ${remoteInfo.latestInfo.type === 'urgent' ? 'border-red-400 bg-red-50' : 'border-indigo-400 bg-indigo-50'}`}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user