Skip to content

Commit

Permalink
lint(ui): lint
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu Zhao <evantczhao@gmail.com>
  • Loading branch information
tczhao committed Oct 7, 2021
1 parent c6776d2 commit 5ced741
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,15 @@ export class ArchivedWorkflowFilters extends React.Component<ArchivedWorkflowFil
sublistQuery={this.fetchArchivedWorkflowsLabels}
tags={this.props.selectedLabels}
onChange={tags => {
this.props.onChange(this.props.namespace, this.props.name, this.props.namePrefix, this.props.selectedPhases, tags, this.props.minStartedAt, this.props.maxStartedAt);
this.props.onChange(
this.props.namespace,
this.props.name,
this.props.namePrefix,
this.props.selectedPhases,
tags,
this.props.minStartedAt,
this.props.maxStartedAt
);
}}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {ArchivedWorkflowFilters} from '../archived-workflow-filters/archived-wor
interface State {
pagination: Pagination;
namespace: string;
name: string
name: string;
namePrefix: string;
selectedPhases: string[];
selectedLabels: string[];
Expand Down Expand Up @@ -96,7 +96,9 @@ export class ArchivedWorkflowList extends BasePage<RouteComponentProps<any>, Sta
minStartedAt={this.state.minStartedAt}
maxStartedAt={this.state.maxStartedAt}
onChange={(namespace, name, namePrefix, selectedPhases, selectedLabels, minStartedAt, maxStartedAt) =>
this.changeFilters(namespace, name, namePrefix, selectedPhases, selectedLabels, minStartedAt, maxStartedAt, {limit: this.state.pagination.limit})
this.changeFilters(namespace, name, namePrefix, selectedPhases, selectedLabels, minStartedAt, maxStartedAt, {
limit: this.state.pagination.limit
})
}
/>
</div>
Expand Down

0 comments on commit 5ced741

Please sign in to comment.