From 6ffae589fa6ef00a08487c865b7331b2db23f69c Mon Sep 17 00:00:00 2001 From: Owen Rumney Date: Mon, 30 May 2022 10:56:19 +0100 Subject: [PATCH] chore(deps): MUI theme version bump --- client/package.json | 2 +- client/src/App.tsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 453e885..202421a 100644 --- a/client/package.json +++ b/client/package.json @@ -7,7 +7,7 @@ "build": "react-scripts build" }, "dependencies": { - "@docker/docker-mui-theme": "^0.0.4", + "@docker/docker-mui-theme": "^0.0.6", "@emotion/react": "^11.8.2", "@emotion/styled": "^11.8.1", "@mui/icons-material": "^5.5.1", diff --git a/client/src/App.tsx b/client/src/App.tsx index 31e250b..3f4e737 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -99,6 +99,11 @@ export function App() { } async function triggerTrivy() { + if (scanImage === "") { + return; + } + + resetUI(); if (!(await checkForCacheVolume())) { await createCacheVolume().then((created) => {