diff --git a/frontend/src/views/AppCreator.jsx b/frontend/src/views/AppCreator.jsx index afb22314..b7d4ebdb 100644 --- a/frontend/src/views/AppCreator.jsx +++ b/frontend/src/views/AppCreator.jsx @@ -319,6 +319,8 @@ const AppCreator = (props) => { const checkQuery = () => { var urlParams = new URLSearchParams(window.location.search) if (!urlParams.has("id")) { + setActionAmount(0) + setIsAppLoaded(true) return } @@ -2105,7 +2107,7 @@ const AppCreator = (props) => { : null} -

Actions ({actionAmount} / {actions.length})

+

Actions {actionAmount > 0 ? ({actionAmount} / {actions.length}) : null}

Actions are the tasks performed by an app. Read more about actions and apps here.
@@ -2199,7 +2201,9 @@ const AppCreator = (props) => { const imageInfo = - const alternateImg = + const alternateImg = { + upload.click() + }}/> const zoomIn = () => { setScale(scale+0.1);