Skip to content

Commit 3c8b321

Browse files
committed
Merge branch 'dev' into 2.x
2 parents 28e78d7 + 2e5d450 commit 3c8b321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/cruise_menu.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class CruiseMenu extends Component {
168168
let output = files.map((file, index) => {
169169
return (
170170
<div className='pl-2' key={`file_${index}`}>
171-
<a className='text-decoration-none' href='#' onClick={() => handle_cruise_file_download(file)}>
171+
<a className='text-decoration-none' href='#' onClick={() => handle_cruise_file_download(file, this.state.activeCruise.id)}>
172172
{file}
173173
</a>
174174
</div>
@@ -181,7 +181,7 @@ class CruiseMenu extends Component {
181181
let output = files.map((file, index) => {
182182
return (
183183
<div className='pl-2' key={`file_${index}`}>
184-
<a className='text-decoration-none' href='#' onClick={() => handle_lowering_file_download(file)}>
184+
<a className='text-decoration-none' href='#' onClick={() => handle_lowering_file_download(file, this.state.activeLowering.id)}>
185185
{file}
186186
</a>
187187
</div>

0 commit comments

Comments
 (0)