Skip to content

Commit 1a03347

Browse files
committed
Update toolbarList.js
1 parent d2ce8cf commit 1a03347

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/toolbarActions/toolbarList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ const toolbarList = (state, dispatcher) => [
239239
{ fn: () => downloadImg(s, d, 'PNG'), name: 'PNG' },
240240
],
241241
visibility: true,
242-
active: state.curGraphInstance !== null,
242+
active: state.curGraphInstance,
243243
},
244244
{ type: 'vsep' },
245245
];

0 commit comments

Comments
 (0)