fix(salesforce): send link notes and default to empty string (#11160)

This commit is contained in:
Mihaela Dumitru 2022-03-17 12:58:12 +02:00 committed by GitHub
parent 7bcf7bb686
commit 649c1b0669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export const useSalesforceLinkDialog = () => {
const [ records, setRecords ] = useState([]);
const [ isLoading, setLoading ] = useState(false);
const [ searchTerm, setSearchTerm ] = useState(null);
const [ notes, setNotes ] = useState(null);
const [ notes, setNotes ] = useState('');
const [ hasRecordsErrors, setRecordsErrors ] = useState(false);
const [ hasDetailsErrors, setDetailsErrors ] = useState(false);
const conference = useSelector(getCurrentConference);
@ -122,6 +122,7 @@ export const useSalesforceLinkDialog = () => {
executeLinkMeetingRequest,
hideNotification,
jwt,
notes,
salesforceUrl,
selectedRecord,
showNotification