Skip to content

Commit

Permalink
Clean up args
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Jul 18, 2024
1 parent ab60c1d commit cae256c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class SpacesGridPage extends Component<Props, State> {
) : undefined}
<EuiInMemoryTable
itemId={'id'}
data-test-subj={'spacesListTable'}
data-test-subj="spacesListTable"
items={this.state.spaces}
tableCaption={i18n.translate('xpack.spaces.management.spacesGridPage.tableCaption', {
defaultMessage: 'Kibana spaces',
Expand All @@ -147,7 +147,7 @@ export class SpacesGridPage extends Component<Props, State> {
rowProps={(item) => ({
'data-test-subj': `spacesListTableRow-${item.id}`,
})}
columns={this.getColumnConfig({ serverBasePath: this.props.serverBasePath })}
columns={this.getColumnConfig()}
pagination={true}
sorting={true}
search={{
Expand Down Expand Up @@ -256,7 +256,7 @@ export class SpacesGridPage extends Component<Props, State> {
}
};

public getColumnConfig({ serverBasePath }: { serverBasePath: string }) {
public getColumnConfig() {
const config: Array<EuiBasicTableColumn<Space>> = [
{
field: 'initials',
Expand Down Expand Up @@ -429,7 +429,7 @@ export class SpacesGridPage extends Component<Props, State> {
color: 'primary',
href: (rowRecord) =>
addSpaceIdToPath(
serverBasePath,
this.props.serverBasePath,
rowRecord.id,
`${ENTER_SPACE_PATH}?next=/app/management/kibana/spaces/`
),
Expand Down

0 comments on commit cae256c

Please sign in to comment.