Skip to content

Commit

Permalink
Bugfix: Edit Experiment projectId (#50)
Browse files Browse the repository at this point in the history
Co-authored-by: Krithika Sundararajan <krithika.sundararajan@go-jek.com>
  • Loading branch information
krithika369 and Krithika Sundararajan authored Nov 4, 2022
1 parent d3ff430 commit e91f0bd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ui/src/experiments/edit/EditExperimentView.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import { TreatmentContextProvider } from "providers/treatment/context";
import { Experiment } from "services/experiment/Experiment";
import { PageTitle } from "components/page/PageTitle";

const EditExperimentView = ({ projectId, experimentSpec }) => {
const EditExperimentView = ({ experimentSpec }) => {
const projectId = experimentSpec.project_id;
const navigate = useNavigate();
useEffect(() => {
replaceBreadcrumbs([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ export const SegmenterSettings = ({
buttonContent={buttonContent}
arrowDisplay="none"
extraAction={
<EuiButtonIcon size="s" iconType={"gear"} color={"text"} onClick={() => setIsOpen(!isOpen)} />
<EuiButtonIcon
size="s" iconType={"gear"}
color={"text"}
onClick={() => setIsOpen(!isOpen)}
aria-label="segmenter-settings"
/>
}
>
<EuiHorizontalRule margin="xs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const RouteNamePathRow = ({
<EuiButtonIcon
iconType="questionInCircle"
onClick={toggleFlyout}
aria-label="route-name-path-help"
/>,
<EuiText size={"s"}>{routeNamePathPrefix}</EuiText>,
]}
Expand Down

0 comments on commit e91f0bd

Please sign in to comment.