Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Commit c3ab900

Browse files
authored
Merge pull request #278 from X2bee/main
fx
2 parents 322e70f + 2ed24a5 commit c3ab900

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

src/app/main/workflowSection/components/documents/DocumentDetailSection.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -184,18 +184,8 @@ const DocumentDetailSection: React.FC<DocumentDetailSectionProps> = ({
184184
</div>
185185
) : (
186186
<button
187-
onClick={() => {
188-
if (!needsRemake) {
189-
handleEditClick(chunk.chunk_id, chunk.chunk_text || '');
190-
}
191-
}}
192-
disabled={needsRemake}
193-
className={`${styles.button} ${styles.edit} ${needsRemake ? styles.disabled : ''}`}
194-
data-tooltip={needsRemake ? '컬렉션 임베딩이 일치하지 않아 Remake를 먼저 수행해야 합니다.' : ''}
195-
style={{
196-
cursor: needsRemake ? 'not-allowed' : 'pointer',
197-
opacity: needsRemake ? 0.6 : 1
198-
}}
187+
onClick={() => handleEditClick(chunk.chunk_id, chunk.chunk_text || '')}
188+
className={`${styles.button} ${styles.edit}`}
199189
>
200190
업데이트
201191
</button>

0 commit comments

Comments
 (0)