From 2d2250daced7282f98ed61af4ba87f7880fef5ef Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Tue, 22 Nov 2022 00:36:29 +0000 Subject: [PATCH] options for `app.createLogin` --- packages/app/src/App.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/src/App.jsx b/packages/app/src/App.jsx index ebb3059b..17761887 100755 --- a/packages/app/src/App.jsx +++ b/packages/app/src/App.jsx @@ -142,8 +142,9 @@ class App extends React.Component { "app.openNotifications": () => { App.publicMethods.openNotifications() }, - "app.createLogin": async () => { + "app.createLogin": async (options = {}) => { app.DrawerController.open("login", Login, { + defaultLocked: options.defaultLocked ?? false, componentProps: { sessionController: this.sessionController }