File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ export default function NamespaceHeader({
4545 setExistingPR ( null ) ;
4646
4747 const fetchData = async ( ) => {
48+ if ( ! namespace ) {
49+ if ( onGitConfigLoaded ) onGitConfigLoaded ( null ) ;
50+ setGitConfigLoading ( false ) ;
51+ return ;
52+ }
4853 if ( namespace ) {
4954 // Fetch deployment sources
5055 try {
Original file line number Diff line number Diff line change @@ -620,7 +620,14 @@ export function NamespacePage() {
620620 state . nodes . length > 0 ? (
621621 state . nodes . map ( node => (
622622 < tr key = { node . name } >
623- < td >
623+ < td
624+ style = { {
625+ maxWidth : '300px' ,
626+ overflow : 'hidden' ,
627+ whiteSpace : 'nowrap' ,
628+ textOverflow : 'ellipsis' ,
629+ } }
630+ >
624631 < a href = { '/nodes/' + node . name } className = "link-table" >
625632 { isBranchNamespace && node . name . startsWith ( namespace + '.' )
626633 ? node . name . slice ( namespace . length + 1 )
@@ -633,7 +640,14 @@ export function NamespacePage() {
633640 { node . currentVersion }
634641 </ span >
635642 </ td >
636- < td >
643+ < td
644+ style = { {
645+ maxWidth : '250px' ,
646+ overflow : 'hidden' ,
647+ whiteSpace : 'nowrap' ,
648+ textOverflow : 'ellipsis' ,
649+ } }
650+ >
637651 < a href = { '/nodes/' + node . name } className = "link-table" >
638652 { node . type !== 'source' ? node . current . displayName : '' }
639653 </ a >
You can’t perform that action at this time.
0 commit comments