File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -200,27 +200,7 @@ var Application = View.extend({
200200 }
201201 } ;
202202
203- /**
204- * If we're in Compass community and the license has not been agreed, we need
205- * to show it first and force the user to agree or disagree.
206- */
207- if ( process . env . HADRON_PRODUCT === 'mongodb-compass-community' && ! app . preferences . agreedToLicense ) {
208- const licenseComponent = app . appRegistry . getRole ( 'Application.License' ) [ 0 ] . component ;
209- const licenseStore = app . appRegistry . getStore ( 'License.Store' ) ;
210- const licenseActions = app . appRegistry . getAction ( 'License.Actions' ) ;
211-
212- ReactDOM . render ( React . createElement ( licenseComponent ) , this . queryByHook ( 'license' ) ) ;
213-
214- licenseStore . listen ( ( state ) => {
215- if ( state . isAgreed ) {
216- handleTour ( ) ;
217- }
218- } ) ;
219-
220- licenseActions . show ( ) ;
221- } else {
222- handleTour ( ) ;
223- }
203+ handleTour ( ) ;
224204
225205 if ( process . env . NODE_ENV !== 'production' ) {
226206 debug ( 'Installing "Inspect Element" context menu' ) ;
You can’t perform that action at this time.
0 commit comments