mirror of
				https://github.com/gristlabs/grist-core.git
				synced 2025-06-13 20:53:59 +00:00 
			
		
		
		
	
				Summary: In the pure OSS `grist-oss` image, the `ActivationPage` module from stubs is used, as the `ext` code is completely missing. We can easily just always return `false` here. In the case when the `ext` directory exists, this may mean we're in the standard `grist` image or the `grist-ee` image. The latter is distinguished by having `GRIST_FORCE_ENABLE_ENTERPRISE` so we check if that's on, and hide the toggle accordingly if so. Test Plan: Use these changes to build the three Docker images (`grist-oss`, `grist`, and `grist-ee`) and verify that only `grist` shows the toggle. Reviewers: jarek Reviewed By: jarek Subscribers: jarek Differential Revision: https://phab.getgrist.com/D4321  | 
			||
|---|---|---|
| .. | ||
| aclui | ||
| components | ||
| lib | ||
| models | ||
| ui | ||
| ui2018 | ||
| widgets | ||
| apiconsole.ts | ||
| app.css | ||
| app.js | ||
| billingMain.ts | ||
| browserCheck.ts | ||
| declarations.d.ts | ||
| DefaultHooks.ts | ||
| errorMain.ts | ||
| exposeModulesForTests.js | ||
| formMain.ts | ||
| Hooks.ts | ||
| logo.css | ||
| tsconfig.json | ||