Skip to content

Commit 1378bd7

Browse files
author
assnctr
committed
Fixed getting export type (#8)
1 parent e797743 commit 1378bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/ResultActions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const getResultsInProtocolIpPort = items => {
6060
};
6161

6262
export const save = () => (dispatch, getState) => {
63-
const saveType = getState().exporting.type == 1 ? getResultsInIpPort : getResultsInProtocolIpPort;
63+
const saveType = getState().result.exporting.type == 1 ? getResultsInIpPort : getResultsInProtocolIpPort;
6464

6565
let savePath = dialog.showSaveDialog({
6666
filters: [

0 commit comments

Comments
 (0)