-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4424f29
commit 348ec64
Showing
14 changed files
with
86 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,5 +73,3 @@ export function setProperty (property) { | |
property | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,43 @@ | ||
import React from 'react' | ||
import { | ||
Button, | ||
Modal, | ||
ModalHeader, | ||
ModalBody, | ||
ModalFooter, | ||
ListGroup, | ||
ListGroupItem, | ||
InputGroup, | ||
InputGroupAddon, | ||
Input | ||
import { | ||
Button, | ||
Modal, | ||
ModalHeader, | ||
ModalBody, | ||
ModalFooter, | ||
ListGroup, | ||
ListGroupItem, | ||
InputGroup, | ||
InputGroupAddon, | ||
Input | ||
} from 'reactstrap' | ||
|
||
export default function SelectAcc (props) { | ||
const { accounts, handleToggle, onAccountSelect, isOpen} = props | ||
return ( | ||
<Modal isOpen={isOpen} toggle={handleToggle} > | ||
<ModalHeader toggle={handleToggle}>Please select an account</ModalHeader> | ||
<ModalBody> | ||
<ListGroup> | ||
{ | ||
accounts.map(account => | ||
( | ||
<ListGroupItem key={account}> | ||
<InputGroup> | ||
<Input disabled value={account}/> | ||
<InputGroupAddon addonType="append"> | ||
<Button onClick={() => onAccountSelect(account)}> | ||
const { accounts, handleToggle, onAccountSelect, isOpen} = props | ||
return ( | ||
<Modal isOpen={isOpen} toggle={handleToggle} > | ||
<ModalHeader toggle={handleToggle}>Please select an account</ModalHeader> | ||
<ModalBody> | ||
<ListGroup> | ||
{ | ||
accounts.map(account => | ||
( | ||
<ListGroupItem key={account}> | ||
<InputGroup> | ||
<Input disabled value={account} /> | ||
<InputGroupAddon addonType='append'> | ||
<Button onClick={() => onAccountSelect(account)}> | ||
Select this account | ||
</Button> | ||
</InputGroupAddon> | ||
</InputGroup> | ||
</ListGroupItem> | ||
) | ||
) | ||
} | ||
</ListGroup> | ||
</ModalBody> | ||
<ModalFooter> | ||
</ModalFooter> | ||
</Modal> | ||
) | ||
} | ||
</Button> | ||
</InputGroupAddon> | ||
</InputGroup> | ||
</ListGroupItem> | ||
) | ||
) | ||
} | ||
</ListGroup> | ||
</ModalBody> | ||
<ModalFooter /> | ||
</Modal> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const PROPERTY = 'property' | ||
export const FSMGRCONTRACT = 'fsmgrcode111' | ||
export const FSMGRCONTRACT = 'fsmgrcode111' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters