Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
add queue indicator to dependency list
Browse files Browse the repository at this point in the history
  • Loading branch information
superhawk610 committed Sep 1, 2018
1 parent 01b4496 commit dcdf510
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { PureComponent } from 'react';
import { connect } from 'react-redux';
import styled from 'styled-components';
import IconBase from 'react-icons-kit';
import { plus } from 'react-icons-kit/feather/plus';
import { moreHorizontal, plus } from 'react-icons-kit/feather';

import { runTask, abortTask } from '../../actions';
import { getSelectedProject } from '../../reducers/projects.reducer';
Expand Down Expand Up @@ -132,6 +132,17 @@ class DependencyManagementPane extends PureComponent<Props, State> {
: undefined
}
/>
) : dependency.status.match(/^queued-/) ? (
<span
style={{
color:
selectedDependencyIndex === index
? COLORS.white
: undefined,
}}
>
<IconBase size={20} icon={moreHorizontal} />
</span>
) : (
<DependencyVersion
isSelected={selectedDependencyIndex === index}
Expand Down

0 comments on commit dcdf510

Please sign in to comment.