File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
frontend/pages/sites/$siteId/storage Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ function FileStoragePage() {
61
61
const foundFileDetails = fetchedPublicFiles ?. find (
62
62
( file ) => file . name === queryFileDetails ,
63
63
) ;
64
+
64
65
const scrollTo = useRef ( null ) ;
65
66
function scrollToTop ( ) {
66
67
return scrollTo . current ?. scrollIntoView ( { behavior : 'smooth' , block : 'start' } ) ;
@@ -238,7 +239,7 @@ function FileStoragePage() {
238
239
< FileDetails
239
240
name = { foundFileDetails ?. name || '' }
240
241
id = { foundFileDetails ?. id }
241
- fullPath = { `${ storageRoot } ${ path } ${ foundFileDetails ?. name } ` }
242
+ fullPath = { `${ site . liveDomain } ${ path } ${ foundFileDetails ?. key } ` }
242
243
lastModifiedBy = { foundFileDetails ?. lastModifiedBy || '' }
243
244
lastModifiedAt = { foundFileDetails ?. lastModifiedAt || '' }
244
245
size = { foundFileDetails ?. metadata . size || 0 }
You can’t perform that action at this time.
0 commit comments