fix(images): route by id

This commit is contained in:
Sara Vieira 2018-03-21 15:10:37 +00:00
parent 9a9f1f903a
commit 69de33dae9
1 changed files with 9 additions and 5 deletions

View File

@ -69,6 +69,11 @@ const Actions = styled(Flex)`
min-width: 48px; min-width: 48px;
`; `;
const ActionsWrapper = styled(Flex)`
height: 100%;
border-left: 1px solid ${props => props.theme.grey};
`;
export const Image = ({ export const Image = ({
name, name,
id, id,
@ -117,11 +122,10 @@ export const Image = ({
</Content> </Content>
<PopoverContainer clickable> <PopoverContainer clickable>
<Actions> <Actions>
<PopoverTarget <PopoverTarget box>
box <ActionsWrapper alignCenter justifyCenter>
style={{ borderLeft: '1px solid #D8D8D8' }} <ActionsIcon />
> </ActionsWrapper>
<ActionsIcon />
</PopoverTarget> </PopoverTarget>
<Popover placement="bottom"> <Popover placement="bottom">
<PopoverItem disabled={false} onClick={onCreateInstance}> <PopoverItem disabled={false} onClick={onCreateInstance}>