Fix send doc to email

This commit is contained in:
Jérémy Munsch 2023-09-13 10:51:30 +02:00
parent d309c699c1
commit 01506e126d
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -459,9 +459,9 @@ class App extends React.Component {
subject: i18n.t('app.file_sharing'),
message: '',
documents: JSON.stringify([
store.getState().currentOpenedDoc,
store.getState().app.currentOpenedDoc,
]),
app_user_id: store.getState().currentUser.id,
app_user_id: store.getState().app.currentUser.id,
};
store.dispatch({ type: 'SEND_BROCHURE', data: email });
showMessage({