@@ -3,13 +3,9 @@ import Tags from "./Tags";
33import Title from "./Title" ;
44import TicketInfo from "./Info" ;
55import Members from "./Members" ;
6- import Form from "react-bootstrap/Form" ;
76import Card from "react-bootstrap/Card" ;
8- import Badge from "react-bootstrap/Badge" ;
97import Image from "react-bootstrap/Image" ;
108import EditableCard from "./EditableCard" ;
11- import Button from "react-bootstrap/Button" ;
12- import EditButton from "@material-ui/icons/EditOutlined" ;
139import userIcon2 from "../../../../../assets/images/userIcon2.jpg" ;
1410
1511class Layout extends Component {
@@ -33,6 +29,7 @@ class Layout extends Component {
3329 < Title
3430 ticket = { this . props . ticket }
3531 handleBack = { this . props . handleBack }
32+ editsAllowed = { this . props . editsAllowed }
3633 singleUpdate = { this . props . singleUpdate }
3734 updateTicket = { this . props . updateTicket }
3835 />
@@ -64,13 +61,15 @@ class Layout extends Component {
6461 < div className = "ticket-info" >
6562 < TicketInfo
6663 ticket = { this . props . ticket }
64+ editsAllowed = { this . props . editsAllowed }
6765 singleUpdate = { this . props . singleUpdate }
6866 updateTicket = { this . props . updateTicket }
6967 />
7068 < EditableCard
7169 Type = "Summary"
7270 heading = "Ticket Summary"
7371 ticketId = { this . props . ticket . _id }
72+ editsAllowed = { this . props . editsAllowed }
7473 singleUpdate = { this . props . singleUpdate }
7574 updateTicket = { this . props . updateTicket }
7675 data = { this . props . ticket . shortDescription }
@@ -94,6 +93,7 @@ class Layout extends Component {
9493 addTag = { this . props . addTag }
9594 data = { this . props . ticket . tags }
9695 removeTag = { this . props . removeTag }
96+ editsAllowed = { this . props . editsAllowed }
9797 />
9898 < Members ticket = { this . props . ticket } />
9999 </ div >
0 commit comments