Skip to content

Commit

Permalink
Wrap the reviewer list and fixing the filter after refresh button cli…
Browse files Browse the repository at this point in the history
…cked (#11)
  • Loading branch information
cribeiro84 authored Aug 17, 2019
1 parent 348e932 commit 9e8210f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/tabs/PullRequestsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { Duration } from "azure-devops-ui/Duration";
import { Tooltip } from "azure-devops-ui/TooltipEx";
import { css } from "azure-devops-ui/Util";
import { Pill, PillSize } from "azure-devops-ui/Pill";
import { PillGroup } from "azure-devops-ui/PillGroup";
import { PillGroup, PillGroupOverflow } from "azure-devops-ui/PillGroup";
import { IColor } from "azure-devops-ui/Utilities/Color";

export class PullRequestsTab extends React.Component<
Expand Down Expand Up @@ -373,6 +373,8 @@ export class PullRequestsTab extends React.Component<
});

DevOps.notifyLoadSucceeded();

this.setupFilter();
}

refresh = () => {
Expand Down Expand Up @@ -614,11 +616,13 @@ export class PullRequestsTab extends React.Component<
</span>
}
line2={
<span className="flex-wrap fontSize font-size secondary-text flex-row flex-center text-ellipsis">
<span className="fontSize font-size secondary-text flex-row flex-center text-ellipsis">
<br />
<br />
<strong>Reviewers:&nbsp;</strong>
<PillGroup className="flex-row flex-wrap">
<strong>Reviewers:&nbsp;</strong><br />
<PillGroup className="flex-row"
// @ts-ignore
overflow={PillGroupOverflow.wrap}>
{tableItem.gitPullRequest.reviewers.map((reviewer, i) => {
// @ts-ignore
return (
Expand Down

0 comments on commit 9e8210f

Please sign in to comment.