File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
renderer/components/editor/options Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -88,12 +88,12 @@ const aboutItem = {
88
88
89
89
let isExportsItemEnabled = false ;
90
90
91
- const exportHistoryItem = {
91
+ const getExportHistoryItem = ( ) => ( {
92
92
label : 'Export History' ,
93
93
click : openExportsWindow ,
94
94
enabled : isExportsItemEnabled ,
95
95
id : 'exports'
96
- } ;
96
+ } ) ;
97
97
98
98
const preferencesItem = {
99
99
label : 'Preferences…' ,
@@ -163,7 +163,7 @@ const getCogMenuTemplate = async () => [
163
163
type : 'separator'
164
164
} ,
165
165
openFileItem ,
166
- exportHistoryItem ,
166
+ getExportHistoryItem ( ) ,
167
167
{
168
168
type : 'separator'
169
169
} ,
@@ -221,7 +221,7 @@ const appMenuTemplate = [
221
221
{
222
222
type : 'separator'
223
223
} ,
224
- exportHistoryItem ,
224
+ getExportHistoryItem ( ) ,
225
225
{
226
226
type : 'separator'
227
227
} ,
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ class RightOptions extends React.Component {
111
111
112
112
.format {
113
113
height: 24px;
114
- width: 96px ;
114
+ width: 104px ;
115
115
margin-right: 8px;
116
116
}
117
117
You can’t perform that action at this time.
0 commit comments