Revert sync behavior after data reset
The sync setting should be disabled after data reset.
This commit is contained in:
@@ -43,8 +43,8 @@ const DataResetDialog: React.FC<DataResetDialogProps> = ({
|
||||
클라우드 데이터도 함께 삭제됩니다.
|
||||
</div>
|
||||
{syncEnabled && (
|
||||
<div className="mt-2 text-neuro-income">
|
||||
동기화 설정은 계속 활성화 상태로 유지됩니다.
|
||||
<div className="mt-2 text-amber-600">
|
||||
동기화 설정이 비활성화됩니다.
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
||||
@@ -16,7 +16,7 @@ const SyncExplanation: React.FC<SyncExplanationProps> = ({ enabled }) => {
|
||||
<AlertTitle className="text-black">동기화 작동 방식</AlertTitle>
|
||||
<AlertDescription className="text-sm text-black">
|
||||
이 기능은 양방향 동기화입니다. 로그인 후 동기화를 켜면 서버 데이터와 로컬 데이터가 병합됩니다.
|
||||
데이터 초기화 후에도 동기화 버튼을 누르면 서버에 저장된 데이터를 다시 불러옵니다.
|
||||
데이터 초기화 시 동기화 설정은 자동으로 비활성화됩니다.
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user