mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
* `GRIST_ANON_PLAYGROUND`: When set to 'false' deny anonymous users access to the home page * `GRIST_FORCE_LOGIN`: Much like `GRIST_ANON_PLAYGROUND` but don't support anonymous access at all (features like sharing docs publicly requires authentication) --------- Co-authored-by: Florent FAYOLLE <florent.fayolle@beta.gouv.fr>
This commit is contained in:
@@ -190,7 +190,7 @@ export class DocPageModelImpl extends Disposable implements DocPageModel {
|
||||
public createLeftPane(leftPanelOpen: Observable<boolean>) {
|
||||
return cssLeftPanel(
|
||||
dom.maybe(this.gristDoc, (activeDoc) => [
|
||||
addNewButton(leftPanelOpen,
|
||||
addNewButton({ isOpen: leftPanelOpen },
|
||||
menu(() => addMenu(this.importSources, activeDoc, this.isReadonly.get()), {
|
||||
placement: 'bottom-start',
|
||||
// "Add New" menu should have the same width as the "Add New" button that opens it.
|
||||
|
||||
Reference in New Issue
Block a user