Skip to content

Commit cd12c05

Browse files
authored
Hotfix update (#16)
* restored otherwise update called but not shown * safer status control
1 parent ce26513 commit cd12c05

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ui/src/components/Header/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const LongMenu = () => {
2626

2727
return (
2828
<div>
29-
<UpdateDialog open={openModal} onClose={() => setOpenModal(false)} />
29+
{openModal && <UpdateDialog open={openModal} onClose={() => setOpenModal(false)} />}
3030
<IconButton
3131
aria-label="more"
3232
id="long-button"

ui/src/services/hooks/api.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ export const useLocalStack = (): useLocalStackReturn => {
5959
const { data, mutate } = useSWR(
6060
cacheKey,
6161
async () => (await ddClient.docker.listContainers() as [DockerContainer])
62-
.find(container => container.Image === 'localstack/localstack'),
62+
.find(container =>
63+
container.Image === 'localstack/localstack' &&
64+
container.Command !== 'bin/localstack update docker-images',
65+
),
6366
);
6467

6568
return {

0 commit comments

Comments
 (0)