Remove old attribute
This commit is contained in:
parent
e17a4bf627
commit
f21f857e31
2 changed files with 1 additions and 4 deletions
|
|
@ -67,13 +67,11 @@ export class UrlList extends React.Component {
|
|||
<TableCell>
|
||||
{!spaceurl.validated ? <Button
|
||||
onClick={() => this.validateSpaceUrl(spaceurl)}
|
||||
primary
|
||||
>validated</Button> : null}
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
<Button
|
||||
onClick={() => this.deleteSpaceUrl(spaceurl)}
|
||||
primary
|
||||
>
|
||||
delete
|
||||
</Button>
|
||||
|
|
@ -86,7 +84,6 @@ export class UrlList extends React.Component {
|
|||
<TextField
|
||||
name={'secret-input'}
|
||||
onChange={(event)=> this.setState({ secret: event.target.value })}
|
||||
ref={ref => (this.secretInput = ref)}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -84,5 +84,5 @@ export default handleActions({
|
|||
|
||||
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: [] });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue