Merge pull request #74 from microsoft/irinata/bug65
Made link analysis disabled while queue is null
This commit is contained in:
Коммит
63e4cf98cd
|
@ -171,7 +171,8 @@ export class ItemDetails extends Component<ItemDetailsProps, ItemDetailsState> {
|
|||
const {
|
||||
reviewItem,
|
||||
loadingReviewItem,
|
||||
loadingReviewItemError
|
||||
loadingReviewItemError,
|
||||
queue
|
||||
} = this.props;
|
||||
const { mode } = this.state;
|
||||
|
||||
|
@ -246,6 +247,7 @@ export class ItemDetails extends Component<ItemDetailsProps, ItemDetailsState> {
|
|||
checked={mode === ITEM_DETAILS_MODE.LINK_ANALYSIS}
|
||||
data-mode={ITEM_DETAILS_MODE.LINK_ANALYSIS}
|
||||
onClick={this.toggleView}
|
||||
disabled={!queue}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче