Skip to content

Commit c480aab

Browse files
authored
Merge pull request #133 from Rahuljagwani/main
issue #131 solved
2 parents ce07004 + 217495d commit c480aab

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
@@ -231,7 +231,7 @@ const toolbarList = (state, dispatcher) => [
231231
// visibility: true,
232232
// },
233233
{
234-
type: 'menu',
234+
type: state.curGraphInstance ? 'menu' : 'action',
235235
text: 'Export',
236236
icon: FaDownload,
237237
action: (s, d) => [

0 commit comments

Comments
 (0)