mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +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.openNotifications": () => {
|
||||||
App.publicMethods.openNotifications()
|
App.publicMethods.openNotifications()
|
||||||
},
|
},
|
||||||
"app.createLogin": async () => {
|
"app.createLogin": async (options = {}) => {
|
||||||
app.DrawerController.open("login", Login, {
|
app.DrawerController.open("login", Login, {
|
||||||
|
defaultLocked: options.defaultLocked ?? false,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
sessionController: this.sessionController
|
sessionController: this.sessionController
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user