[Transform] Fix redirect to the wizard (#124337)

This commit is contained in:
Dima Arnautov 2022-02-02 15:40:09 +01:00 committed by GitHub
parent fcac5d60fe
commit de9f1d4628
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,5 +13,5 @@ import { SECTION_SLUG } from '../constants';
export const RedirectToTransformManagement: FC = () => <Redirect to={`/${SECTION_SLUG.HOME}`} />;
export const RedirectToCreateTransform: FC<{ savedObjectId: string }> = ({ savedObjectId }) => (
<Redirect to={`/${SECTION_SLUG.CREATE_TRANSFORM}/${savedObjectId}`} />
<Redirect push to={`/${SECTION_SLUG.CREATE_TRANSFORM}/${savedObjectId}`} />
);