fix(images): route by id
This commit is contained in:
parent
9a9f1f903a
commit
69de33dae9
|
@ -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}>
|
||||||
|
|
Loading…
Reference in New Issue