mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
redirect to security/session
This commit is contained in:
parent
2743c189a9
commit
1054f44a63
@ -1,10 +1,13 @@
|
||||
import React from "react"
|
||||
import * as antd from "antd"
|
||||
import { Button } from "antd"
|
||||
|
||||
export default (props) => {
|
||||
return <div>
|
||||
<antd.Button>
|
||||
Check activity
|
||||
</antd.Button>
|
||||
</div>
|
||||
return <Button
|
||||
onClick={() => {
|
||||
app.setLocation("/security/sessions")
|
||||
props.ctx.close()
|
||||
}}
|
||||
>
|
||||
Check activity
|
||||
</Button>
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user