fix: enable d1 saving

This commit is contained in:
shinya
2025-07-30 10:19:17 +08:00
parent 05cb6ca481
commit f969e203e2
3 changed files with 4 additions and 4 deletions

View File

@@ -1 +1 @@
20250730014453
20250730101917

View File

@@ -1222,9 +1222,9 @@ const SiteConfigComponent = ({ config }: { config: AdminConfig | null }) => {
<div className='flex justify-end'>
<button
onClick={handleSave}
disabled={saving || isD1Storage || isUpstashStorage}
disabled={saving}
className={`px-4 py-2 ${
saving || isD1Storage || isUpstashStorage
saving
? 'bg-gray-400 cursor-not-allowed'
: 'bg-green-600 hover:bg-green-700'
} text-white rounded-lg transition-colors`}

View File

@@ -2,7 +2,7 @@
'use client';
const CURRENT_VERSION = '20250730014453';
const CURRENT_VERSION = '20250730101917';
// 版本检查结果枚举
export enum UpdateStatus {