Skip to content

Commit 66da845

Browse files
committed
chore: update mechanical operation svg
1 parent ed40977 commit 66da845

File tree

2 files changed

+3
-60
lines changed

2 files changed

+3
-60
lines changed

src/assets/img/ic-mechanical-operation.svg

Lines changed: 1 addition & 60 deletions
Loading

src/components/app/details/appDetails/AppDetailsCDButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ const AppDetailsCDButton = ({
6262
const location = useLocation()
6363
const queryParams = new URLSearchParams(location.search)
6464
const mode = queryParams.get('mode')
65+
// deriving from URL and not props as on app details multiple instances exist, but we are rendering only one at a time
6566
const materialType = queryParams.get('materialType')
6667

6768
const onClickDeployButton = (event) => {
6869
stopPropagation(event)
6970
const newParams = {
7071
...searchParams,
7172
mode: URL_PARAM_MODE_TYPE.LIST,
73+
// setting materialType from props acc to rollback or input material list
7274
materialType: isForRollback ? MATERIAL_TYPE.rollbackMaterialList : MATERIAL_TYPE.inputMaterialList,
7375
}
7476

0 commit comments

Comments
 (0)