소스 검색

- Improved backup/restore module

maziggy 9 달 전
부모
커밋
ef829f8045
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 3
      frontend/src/components/RestoreModal.tsx
  2. 0 0
      static/assets/index-CycmYzoY.js
  3. 1 1
      static/index.html

+ 3 - 3
frontend/src/components/RestoreModal.tsx

@@ -210,12 +210,12 @@ export function RestoreModal({ onClose, onRestore, onSuccess }: RestoreModalProp
                         ) : (
                           <SkipForward className="w-4 h-4 text-bambu-gray" />
                         )}
-                        {overwrite ? 'Update existing items' : 'Add new items only'}
+                        {overwrite ? 'Replace existing data' : 'Keep existing data'}
                       </p>
                       <p className="text-sm text-bambu-gray mt-1">
                         {overwrite
-                          ? 'Replace data for items that already exist on this system'
-                          : 'Items that already exist on this system will not be changed'}
+                          ? 'Overwrite items that already exist with backup data'
+                          : 'Only restore items that don\'t already exist'}
                       </p>
                     </div>
                     <Toggle checked={overwrite} onChange={setOverwrite} />

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
static/assets/index-CycmYzoY.js


+ 1 - 1
static/index.html

@@ -7,7 +7,7 @@
     <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png" />
     <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png" />
     <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png" />
-    <script type="module" crossorigin src="/assets/index-C9aeLRXp.js"></script>
+    <script type="module" crossorigin src="/assets/index-CycmYzoY.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-Ob3MFXab.css">
   </head>
   <body>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.