Przeglądaj źródła

fixed redirect url

jnfrati 4 lat temu
rodzic
commit
d04de96693

+ 1 - 1
dashboard/src/main/home/cluster-dashboard/dashboard/preview-environments/EnvironmentDetail.tsx

@@ -179,7 +179,7 @@ const EnvironmentDetail = () => {
           sortType="Newest"
           namespace={environment.namespace}
           disableBottomPadding
-          closeChartRedirectUrl={window.location.href}
+          closeChartRedirectUrl={`${window.location.pathname}${window.location.search}`}
         />
       </ChartListWrapper>
     </StyledExpandedChart>