mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
stack fill for player notes (#19039)
* stack fill for player notes * nullcheck
This commit is contained in:
@@ -425,7 +425,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
||||
/client/Destroy()
|
||||
GLOB.directory -= ckey
|
||||
GLOB.clients -= src
|
||||
persistent_client.set_client(null)
|
||||
persistent_client?.set_client(null)
|
||||
|
||||
log_access("Logout: [key_name(src)]")
|
||||
GLOB.tickets.ClientLogout(src)
|
||||
|
||||
@@ -29,7 +29,7 @@ export const PlayerNotes = (props) => {
|
||||
>
|
||||
<Window.Content>
|
||||
<Section fill title="Player notes">
|
||||
<Stack vertical>
|
||||
<Stack fill vertical>
|
||||
<Stack.Item>
|
||||
<Stack>
|
||||
<Stack.Item>
|
||||
@@ -75,27 +75,29 @@ export const PlayerNotes = (props) => {
|
||||
</Stack>
|
||||
</Stack.Item>
|
||||
<Stack.Divider />
|
||||
<Stack.Item>
|
||||
<Table>
|
||||
{ckeys.map((ckey) => (
|
||||
<Table.Row key={ckey.name}>
|
||||
<Table.Cell>
|
||||
<Button
|
||||
fluid
|
||||
color="transparent"
|
||||
icon={'user'}
|
||||
onClick={() =>
|
||||
act('show_player_info', {
|
||||
name: ckey.name,
|
||||
})
|
||||
}
|
||||
>
|
||||
{ckey.name}
|
||||
</Button>
|
||||
</Table.Cell>
|
||||
</Table.Row>
|
||||
))}
|
||||
</Table>
|
||||
<Stack.Item grow>
|
||||
<Section fill scrollable>
|
||||
<Table>
|
||||
{ckeys.map((ckey) => (
|
||||
<Table.Row key={ckey.name}>
|
||||
<Table.Cell>
|
||||
<Button
|
||||
fluid
|
||||
color="transparent"
|
||||
icon={'user'}
|
||||
onClick={() =>
|
||||
act('show_player_info', {
|
||||
name: ckey.name,
|
||||
})
|
||||
}
|
||||
>
|
||||
{ckey.name}
|
||||
</Button>
|
||||
</Table.Cell>
|
||||
</Table.Row>
|
||||
))}
|
||||
</Table>
|
||||
</Section>
|
||||
</Stack.Item>
|
||||
<Stack.Divider />
|
||||
<Stack.Item>
|
||||
|
||||
Reference in New Issue
Block a user