File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed 
hwproj.front/src/components/Solutions Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const DownloadStats: FC<DownloadStatsProps> = (props: DownloadStatsProps) => {
3030    } 
3131
3232    return  ( 
33-         < Grid  container  direction = "row"  marginTop = "2px "  spacing = { 1 }  width = "100%" 
33+         < Grid  container  direction = "row"  marginTop = "1px "  spacing = { 1 }  width = "100%" 
3434              justifyContent = "space-between"  alignItems = "center" > 
3535            < Grid  item  xs = { 6 } > 
3636                < TextField 
Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ const ExportToGoogle: FC<ExportToGoogleProps> = (props: ExportToGoogleProps) =>
4141        setState ( prevState  =>  ( {  ...prevState ,  url : value  } ) ) 
4242        if  ( value ) 
4343            apiSingleton . statisticsApi . statisticsGetSheetTitles ( value ) 
44-             . then ( response  =>  setState ( prevState  =>  ( {  ...prevState ,  googleSheetTitles : response  } ) ) )  
44+             . then ( response  =>  setState ( prevState  =>  ( {  ...prevState ,  googleSheetTitles : response  } ) ) ) 
45+         else 
46+             setState ( prevState  =>  ( {  ...prevState ,  googleSheetTitles : undefined  } ) ) 
4547    } 
4648
4749    const  getGoogleSheetName  =  ( )  =>  { 
@@ -60,7 +62,7 @@ const ExportToGoogle: FC<ExportToGoogleProps> = (props: ExportToGoogleProps) =>
6062    } ; 
6163
6264    return  ( 
63-         < Grid  container  direction = "column"  spacing = { 1 }  marginTop = "2px"   width = "100%" > 
65+         < Grid  container  direction = "column"  spacing = { 1 }  width = "100%" > 
6466            < Grid  item  xs = { 12 } > 
6567                { ( googleSheetTitles  &&  ! googleSheetTitles . succeeded  && 
6668                < Alert  severity = "error" > 
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ const ExportToYandex: FC<ExportToYandexProps> = (props: ExportToYandexProps) =>
129129    } ; 
130130
131131    return  userToken  ===  null  ? ( 
132-         < Grid  container  direction = "column"  marginTop = "2px"   spacing = { 1 }  width = "100%" > 
132+         < Grid  container  direction = "column"  spacing = { 1 }  width = "100%" > 
133133            < Grid  item  xs = { 12 } > 
134134                { ! isAuthorizationError  && 
135135                    < Alert  severity = "info"  variant = "standard" > 
@@ -156,7 +156,7 @@ const ExportToYandex: FC<ExportToYandexProps> = (props: ExportToYandexProps) =>
156156            </ Grid > 
157157        </ Grid > 
158158    )  : ( 
159-         < Grid  container  direction = "column"  marginTop = "2px"   spacing = { 1 }  width = "100%" > 
159+         < Grid  container  direction = "column"  spacing = { 1 }  width = "100%" > 
160160            < Grid  item  xs = { 12 } > 
161161                < Alert  severity = "success"  variant = "standard" > 
162162                    Авторизация успешно пройдена. Файл будет загружен на диск по адресу
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments