options for app.createLogin

This commit is contained in:
SrGooglo 2022-11-22 00:36:29 +00:00
parent 55a9c80a74
commit 2d2250dace

View File

@ -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
}