File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export const LongMenu = () => {
3434 const fetchImages = async ( ) => {
3535 const images = ( await ddClient . docker . listImages ( ) ) as DockerImage [ ] ;
3636
37- const localstackImages = images . filter ( image => image . RepoTags ?. at ( 0 ) . startsWith ( 'localstack/' ) ) ;
37+ const localstackImages = images . filter ( image => image . RepoTags ?. at ( 0 ) ? .startsWith ( 'localstack/' ) ) ;
3838 const imagesWithoutOrgName = localstackImages . map ( image => removeRepoFromImage ( image . RepoTags ?. at ( 0 ) ) ) ;
3939 setImages ( imagesWithoutOrgName ) ;
4040 } ;
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ const useStyles = makeStyles((theme: Theme) => createStyles({
99 zIndex : 2 ,
1010 top : 64 ,
1111 backgroundColor : theme . palette . background . default ,
12+ paddingTop : theme . spacing ( 1 ) ,
13+ paddingBottom : theme . spacing ( 1 ) ,
1214 } ,
1315} ) ) ;
1416
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export function removeRepoFromImage(repoTag: string) {
1111}
1212
1313export function removeTagFromImage ( image : DockerImage ) {
14- return image . RepoTags ?. at ( 0 ) . split ( ':' ) . slice ( 0 , - 1 ) . join ( ':' ) ;
14+ return image . RepoTags ?. at ( 0 ) ? .split ( ':' ) . slice ( 0 , - 1 ) . join ( ':' ) ;
1515}
1616
1717export const isALocalStackContainer = ( container : DockerContainer ) =>
You can’t perform that action at this time.
0 commit comments