File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,10 @@ class App extends React.Component<{
9797
9898 @computed
9999 get canVisitSend ( ) {
100- return this . props . accountStore . featureFlags . includes ( 'send' ) && (
101- // Hide Send option if the server is too old for proper support.
102- // We show by default to avoid flicker in the most common case
103- serverVersion . state !== 'fulfilled' ||
104- versionSatisfies ( serverVersion . value , SERVER_SEND_API_SUPPORTED )
105- ) ;
100+ // Hide Send option if the server is too old for proper support.
101+ // We show by default to avoid flicker in the most common case
102+ return serverVersion . state !== 'fulfilled' ||
103+ versionSatisfies ( serverVersion . value , SERVER_SEND_API_SUPPORTED ) ;
106104 }
107105
108106 @computed
Original file line number Diff line number Diff line change @@ -266,8 +266,7 @@ class ViewPage extends React.Component<ViewPageProps> {
266266 }
267267
268268 isSendAvailable ( ) {
269- return this . props . accountStore . featureFlags . includes ( 'send' ) &&
270- versionSatisfies ( serverVersion . value as string , SERVER_SEND_API_SUPPORTED ) ;
269+ return versionSatisfies ( serverVersion . value as string , SERVER_SEND_API_SUPPORTED ) ;
271270 }
272271
273272 render ( ) : JSX . Element {
You can’t perform that action at this time.
0 commit comments