Commit 166d77d 1 parent 6e567eb commit 166d77d Copy full SHA for 166d77d
File tree 2 files changed +7
-4
lines changed
src/main/webapp/ui/src/eln/gallery
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,8 @@ const GridView = observer(
374
374
( {
375
375
listing,
376
376
} : { |
377
- listing : | { | tag : "empty" , reason : string | }
377
+ listing :
378
+ | { | tag : "empty" , reason : string | }
378
379
| { | tag : "list" , list : $ReadOnlyArray < GalleryFile > | } ,
379
380
| } ) => {
380
381
const dndContext = useDndContext ( ) ;
@@ -937,7 +938,8 @@ type GalleryMainPanelArgs = {|
937
938
clearPath : ( ) = > void ,
938
939
galleryListing : FetchingData . Fetched <
939
940
| { | tag : "empty" , reason : string | }
940
- | { | tag : "list" , list : $ReadOnlyArray < GalleryFile > | } > ,
941
+ | { | tag : "list" , list : $ReadOnlyArray < GalleryFile > | }
942
+ > ,
941
943
folderId : FetchingData . Fetched < Id > ,
942
944
refreshListing : ( ) = > void ,
943
945
sortOrder : "DESC " | "ASC" ,
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ function getIconPathForExtension(extension: string) {
129
129
txt : "/images/icons/txt.png" ,
130
130
text : "/images/icons/txt.png" ,
131
131
md : "/images/icons/txt.png" ,
132
- } : { [ string ] : string } ) [ ext ] ?? "/images/icons/unknownDocument.png"
132
+ } : { [ string ] : string } ) [ ext ] ?? "/images/icons/unknownDocument.png"
133
133
) ;
134
134
}
135
135
@@ -179,7 +179,8 @@ export function useGalleryListing({
179
179
| } ) : { |
180
180
galleryListing: FetchingData . Fetched <
181
181
| { | tag : "empty" , reason : string | }
182
- | { | tag : "list" , list : $ReadOnlyArray < GalleryFile > | } > ,
182
+ | { | tag : "list" , list : $ReadOnlyArray < GalleryFile > | }
183
+ > ,
183
184
refreshListing : ( ) => void ,
184
185
path : $ReadOnlyArray < GalleryFile > ,
185
186
clearPath : ( ) => void ,
You can’t perform that action at this time.
0 commit comments