File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -463,6 +463,7 @@ export function ChatPage() {
463463 : selectedCustomChannel ?. label
464464 ?? selectedChannelMeta ?. label
465465 ?? selectedChannel . split ( '-' ) . map ( word => word . charAt ( 0 ) . toUpperCase ( ) + word . slice ( 1 ) ) . join ( ' ' ) ;
466+ const selectedRepositoryName = repositories . find ( ( repo ) => repo . id === selectedRepository ) ?. name ?? '전체 리포지토리' ;
466467
467468 useEffect ( ( ) => {
468469 if ( ! isMainExpanded ) return ;
@@ -1578,7 +1579,7 @@ export function ChatPage() {
15781579 ) : selectedChannel === 'api-spec' ? (
15791580 < APISpecPage embedded />
15801581 ) : selectedChannel === 'erd' ? (
1581- < ERDPage embedded />
1582+ < ERDPage embedded repositoryId = { selectedRepository } repositoryName = { selectedRepositoryName } />
15821583 ) : selectedChannel === 'docs' ? (
15831584 < DocsPage embedded />
15841585 ) : selectedChannel === 'general' || customChannels . some ( ch => ch . id === selectedChannel ) ? (
You can’t perform that action at this time.
0 commit comments