File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 
public/app/features/manage-dashboards/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import  React ,  {  useState ,  useCallback  }  from  'react' ; 
22import  useAsync  from  'react-use/lib/useAsync' ; 
33
4- import  {  config  }  from  '@grafana/runtime' ; 
54import  {  ConfirmModal  }  from  '@grafana/ui' ; 
65import  {  Trans  }  from  'app/core/internationalization' ; 
76import  {  getDashboardSnapshotSrv ,  Snapshot  }  from  'app/features/dashboard/services/SnapshotSrv' ; 
@@ -14,7 +13,7 @@ export function getSnapshots() {
1413    . then ( ( result : Snapshot [ ] )  =>  { 
1514      return  result . map ( ( snapshot )  =>  ( { 
1615        ...snapshot , 
17-         url : `${ config . appUrl } ${ snapshot . key }  , 
16+         url : `/ dashboard/snapshot/${ snapshot . key }  , 
1817      } ) ) ; 
1918    } ) ; 
2019} 
Original file line number Diff line number Diff line change @@ -14,13 +14,14 @@ export interface Props {
1414
1515const  SnapshotListTableRowComponent  =  ( {  snapshot,  onRemove } : Props )  =>  { 
1616  const  url  =  snapshot . externalUrl  ||  snapshot . url ; 
17+   // LOGZ.IO CHANGE :: DEV-46516 - fix shapshot url, line 24 
1718  return  ( 
1819    < tr > 
1920      < td > 
2021        < a  href = { url } > { snapshot . name } </ a > 
2122      </ td > 
2223      < td > 
23-         < a  href = { url } > { url } </ a > 
24+         < a  href = { url } > { ` ${ window . location . origin } ${ url } ` } </ a > 
2425      </ td > 
2526      < td > 
2627        { snapshot . external  &&  ( 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments