mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
options for app.createLogin
This commit is contained in:
parent
55a9c80a74
commit
2d2250dace
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user