Remove old attribute

This commit is contained in:
gidsi 2019-04-04 00:01:30 +02:00
commit f21f857e31
No known key found for this signature in database
GPG key ID: B47291090A6E5604
2 changed files with 1 additions and 4 deletions

View file

@ -67,13 +67,11 @@ export class UrlList extends React.Component {
<TableCell> <TableCell>
{!spaceurl.validated ? <Button {!spaceurl.validated ? <Button
onClick={() => this.validateSpaceUrl(spaceurl)} onClick={() => this.validateSpaceUrl(spaceurl)}
primary
>validated</Button> : null} >validated</Button> : null}
</TableCell> </TableCell>
<TableCell> <TableCell>
<Button <Button
onClick={() => this.deleteSpaceUrl(spaceurl)} onClick={() => this.deleteSpaceUrl(spaceurl)}
primary
> >
delete delete
</Button> </Button>
@ -86,7 +84,6 @@ export class UrlList extends React.Component {
<TextField <TextField
name={'secret-input'} name={'secret-input'}
onChange={(event)=> this.setState({ secret: event.target.value })} onChange={(event)=> this.setState({ secret: event.target.value })}
ref={ref => (this.secretInput = ref)}
/> />
</div> </div>
); );

View file

@ -84,5 +84,5 @@ export default handleActions({
return newState; return newState;
}, },
[SPACEURL_DELETE]: (state, { payload }) => state.items.filter(ele => ele.id !== payload), [SPACEURL_DELETE]: (state, { payload }) => ({ items: state.items.filter(ele => ele.id === payload.id) }),
}, { items: [] }); }, { items: [] });