mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
Add name to account model
Add the name of the account that's connected to the control link on the web interface via an additional property on the ready payload for the control link.
This commit is contained in:
1 parent
e1549c1b0c
commit
6458810571
6 files changed
+50
-5
No files matched your search
@@ -52,6 +52,8 @@ export default function SiteLayout(props) {
|
||||
}
|
||||
|
||||
let accountMenu = <Menu>
|
||||
<Menu.ItemGroup title={account.name}/>
|
||||
<Menu.Divider/>
|
||||
<Menu.Item danger onClick={() => { account.logOut(); }}>Log out</Menu.Item>
|
||||
</Menu>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user