feat: 가맹점 조회 모달의 「수정 준비 중」 안내를 뺀다
조회 전용 동작(IS_EDIT_ENABLED)은 그대로 두고 안내 배너만 지운다. Co-Authored-By: Claude Opus 5
@58e10dd4634ce5f2d37f8d4cba39f276218d8327
--- app/(protected)/(basic)/system/merchants/_components/merchant-form-modal.tsx
+++ app/(protected)/(basic)/system/merchants/_components/merchant-form-modal.tsx
... | ... | @@ -7,7 +7,6 @@ |
| 7 | 7 |
useState, |
| 8 | 8 |
useTransition, |
| 9 | 9 |
} from 'react'; |
| 10 |
-import { FoxAlert } from '@fox/core/components/fox-alert';
|
|
| 11 | 10 |
import { FoxButton } from '@fox/core/components/fox-button';
|
| 12 | 11 |
import { FoxFormLabel } from '@fox/core/components/fox-form-label';
|
| 13 | 12 |
import { FoxHelperText } from '@fox/core/components/fox-helper-text';
|
... | ... | @@ -142,13 +141,6 @@ |
| 142 | 141 |
onSubmit={(event) => submitFormAction(event, formAction)}
|
| 143 | 142 |
className={styles.fields}
|
| 144 | 143 |
> |
| 145 |
- {isReadOnly && (
|
|
| 146 |
- <FoxAlert |
|
| 147 |
- type="information" |
|
| 148 |
- message="가맹점 수정은 백엔드 준비 중입니다. 지금은 등록된 내용만 확인할 수 있습니다." |
|
| 149 |
- /> |
|
| 150 |
- )} |
|
| 151 |
- |
|
| 152 | 144 |
<input type="hidden" name="id" value={merchant?.id ?? ''} />
|
| 153 | 145 |
<input type="hidden" name="categoryCode" value={categoryCode} />
|
| 154 | 146 |
<input type="hidden" name="isVisible" value={isVisible ? 'Y' : 'N'} />
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?