Skip to content
Snippets Groups Projects
Verified Commit 1079cb42 authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Update edit and delete buttons

parent 65e155f9
Branches 80-ui-redesign
No related tags found
1 merge request!5Resolve "Style components"
...@@ -65,9 +65,9 @@ const RouteTile = ({title, stops, onAdd, url, onDelete, onClear}) => { ...@@ -65,9 +65,9 @@ const RouteTile = ({title, stops, onAdd, url, onDelete, onClear}) => {
</div> </div>
: :
<div> <div>
<h2>{title}</h2> { url === undefined && <Button style={{float: 'right'}} onClick={onDelete} type="button" value="-" /> }
{ url === undefined && <Button style={{float: 'right'}} onClick={onDelete} type="button" value="&#x1F5D9;" /> }
{ url === undefined && <Button style={{float: 'right'}} onClick={onClear} type="button" value="&#x1F589;" /> } { url === undefined && <Button style={{float: 'right'}} onClick={onClear} type="button" value="&#x1F589;" /> }
<h2>{title}</h2>
{ url !== undefined && <Div { url !== undefined && <Div
onClick={(e) => { onClick={(e) => {
var range = document.createRange(); var range = document.createRange();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment