diff --git a/ui/src/app/applications/components/application-create-panel/application-create-panel.tsx b/ui/src/app/applications/components/application-create-panel/application-create-panel.tsx index b17238481c46e..acf804853a1b5 100644 --- a/ui/src/app/applications/components/application-create-panel/application-create-panel.tsx +++ b/ui/src/app/applications/components/application-create-panel/application-create-panel.tsx @@ -131,7 +131,7 @@ export const ApplicationCreatePanel = (props: { }> {({projects, clusters, reposInfo}) => { if (pathHasOpsmx) { - window.parent.postMessage({msg:'loadEvent'},'*'); + window.parent.postMessage(window.btoa(JSON.stringify({msg:'loadEvent'})),'*') } const repos = reposInfo.map(info => info.repo).sort(); const app = deepMerge(DEFAULT_APP, props.app || {}); diff --git a/ui/src/app/applications/components/applications-list/applications-list.tsx b/ui/src/app/applications/components/applications-list/applications-list.tsx index fc4bdb602e817..9780c5d2d4bd5 100644 --- a/ui/src/app/applications/components/applications-list/applications-list.tsx +++ b/ui/src/app/applications/components/applications-list/applications-list.tsx @@ -586,7 +586,7 @@ export const ApplicationsList = (props: RouteComponentProps<{}>) => { isShown={!!appInput} onClose={() => { if(pathHasOpsmx){ - window.parent.postMessage({msg:'closeEvent'},'*') + window.parent.postMessage(window.btoa(JSON.stringify({msg:'closeEvent'})),'*') } ctx.navigation.goto('.', {new: null}, {replace: true})}} header={ @@ -603,7 +603,7 @@ export const ApplicationsList = (props: RouteComponentProps<{}>) => { qe-id='applications-list-button-cancel' onClick={() => { if(pathHasOpsmx){ - window.parent.postMessage({msg:'closeEvent'},'*') + window.parent.postMessage(window.btoa(JSON.stringify({msg:'closeEvent'})),'*') } ctx.navigation.goto('.', {new: null}, {replace: true})}} className='argo-button argo-button--base-o'> @@ -622,7 +622,7 @@ export const ApplicationsList = (props: RouteComponentProps<{}>) => { await services.applications.create(app); //iframe msg alert needed if(pathHasOpsmx){ - window.parent.postMessage({msg:'saveEvent'},'*') + window.parent.postMessage(window.btoa(JSON.stringify({msg:'saveEvent',appName:app['metadata']['name']})),'*') } ctx.navigation.goto('.', {new: null}, {replace: true}); } catch (e) { diff --git a/ui/src/app/applications/components/utils.tsx b/ui/src/app/applications/components/utils.tsx index 2c4b09e0f26c2..38b213a1c4199 100644 --- a/ui/src/app/applications/components/utils.tsx +++ b/ui/src/app/applications/components/utils.tsx @@ -120,7 +120,7 @@ export async function deleteApplication(appName: string, appNamespace: string, a } } }, - {name: 'argo-icon-warning', color: 'info'}, + {name: 'argo-icon-warning', color: ''}, '', {propagationPolicy: 'foreground'} ); diff --git a/ui/src/app/sidebar/sidebar.scss b/ui/src/app/sidebar/sidebar.scss index ebe206bcb8ca6..5ccf9016d833b 100644 --- a/ui/src/app/sidebar/sidebar.scss +++ b/ui/src/app/sidebar/sidebar.scss @@ -13,7 +13,7 @@ color: white; background-color: $silver-lining; overflow: auto; - z-index: 0; + z-index: 0 !important; &__logo { justify-content: center;