IO-848 Chat Open Button fixes

This commit is contained in:
Patrick Fic
2021-04-09 08:34:41 -07:00
parent 846745ea05
commit cc385ef5de
6 changed files with 74 additions and 54 deletions

View File

@@ -13,7 +13,7 @@ import { onlyUnique } from "../../utils/arrayHelper";
import CurrencyFormatter from "../../utils/CurrencyFormatter";
import { alphaSort } from "../../utils/sorters";
import AlertComponent from "../alert/alert.component";
import StartChatButton from "../chat-open-button/chat-open-button.component";
import ChatOpenButton from "../chat-open-button/chat-open-button.component";
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
@@ -131,7 +131,7 @@ export function JobsList({ bodyshop }) {
ellipsis: true,
responsive: ["md"],
render: (text, record) => (
<StartChatButton phone={record.ownr_ph1} jobid={record.id} />
<ChatOpenButton phone={record.ownr_ph1} jobid={record.id} />
),
},