Skip to content

Commit d99688b

Browse files
authored
Merge pull request #124 from zenml-io/QA-Fixes
Qa fixes
2 parents bd51da9 + 69b6db4 commit d99688b

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

src/ui/components/Filters/index.tsx

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,14 @@ const FilterComponent = ({
657657
onClick={onClick}
658658
ref={ref}
659659
>
660-
<div>{value}</div>
660+
<div
661+
style={{
662+
fontSize: '12px',
663+
fontFamily: 'Rubik',
664+
}}
665+
>
666+
{value}
667+
</div>
661668
<div>
662669
<icons.calendar size={iconSizes.md} color={iconColors.grey} />
663670
</div>
@@ -990,6 +997,8 @@ const FilterComponent = ({
990997
onChange={(value: any) => {
991998
if (value) {
992999
handleChangeForSearchable(filter, value.value);
1000+
} else {
1001+
handleChangeForSearchable(filter, '');
9931002
}
9941003
}}
9951004
isClearable={true}
@@ -1013,6 +1022,8 @@ const FilterComponent = ({
10131022
onChange={(value: any) => {
10141023
if (value) {
10151024
handleChangeForSearchable(filter, value.value);
1025+
} else {
1026+
handleChangeForSearchable(filter, '');
10161027
}
10171028
}}
10181029
isClearable={true}
@@ -1033,11 +1044,14 @@ const FilterComponent = ({
10331044
styles={selectStyles}
10341045
onInputChange={(e: any) => callActionForUsers(e)}
10351046
onChange={(value: any) => {
1047+
console.log(value, 'valuevalue');
10361048
if (value) {
10371049
handleChangeForSearchable(filter, value.value);
1050+
} else {
1051+
handleChangeForSearchable(filter, '');
10381052
}
10391053
}}
1040-
isClearable={true}
1054+
isClearable
10411055
// value={'role'}
10421056
className={styles.searchableInput}
10431057
// classNamePrefix="select"

src/ui/layouts/pipelines/Pipelines/List/Status/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const Status: React.FC<{ pipeline: TPipeline }> = ({ pipeline }) => {
3737
routePaths.run.pipeline.statistics(
3838
selectedWorkspace,
3939
item.run.id,
40-
item.run.pipeline_id,
40+
pipeline.id,
4141
),
4242
);
4343
}}
@@ -68,7 +68,7 @@ export const Status: React.FC<{ pipeline: TPipeline }> = ({ pipeline }) => {
6868
routePaths.run.pipeline.statistics(
6969
selectedWorkspace,
7070
item.run.id,
71-
item.run.pipeline_id,
71+
pipeline.id,
7272
),
7373
);
7474
}}
@@ -99,7 +99,7 @@ export const Status: React.FC<{ pipeline: TPipeline }> = ({ pipeline }) => {
9999
routePaths.run.pipeline.statistics(
100100
selectedWorkspace,
101101
item.run.id,
102-
item.run.pipeline_id,
102+
pipeline.id,
103103
),
104104
);
105105
}}
@@ -130,7 +130,7 @@ export const Status: React.FC<{ pipeline: TPipeline }> = ({ pipeline }) => {
130130
routePaths.run.pipeline.statistics(
131131
selectedWorkspace,
132132
item.run.id,
133-
item.run.pipeline_id,
133+
pipeline.id,
134134
),
135135
);
136136
}}

src/ui/layouts/pipelines/Pipelines/List/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ export const List: React.FC<Props> = ({
6161
if (id) {
6262
history.push(routePaths.pipelines.list(selectedWorkspace));
6363
} else {
64-
history.push(
65-
routePaths.pipeline.configuration(pipeline.id, selectedWorkspace),
66-
);
64+
history.push(routePaths.pipeline.runs(selectedWorkspace, pipeline.id));
6765
}
6866
};
6967

0 commit comments

Comments
 (0)