fix: authed, column sizes
Co-authored-by: Nikita Dudnik <nikdudnik@gmail.com>
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
"@backstage/plugin-lighthouse": "^0.1.1-alpha.4",
|
||||
"@backstage/plugin-scaffolder": "^0.1.1-alpha.4",
|
||||
"@backstage/plugin-tech-radar": "^0.1.1-alpha.4",
|
||||
"@backstage/plugin-test": "^0.1.1-alpha.4",
|
||||
"@backstage/plugin-welcome": "^0.1.1-alpha.4",
|
||||
"@backstage/theme": "^0.1.1-alpha.4",
|
||||
"@material-ui/core": "^4.9.1",
|
||||
|
||||
@@ -110,6 +110,8 @@ const generatedColumns: TableColumn[] = [
|
||||
title: 'ID',
|
||||
field: 'id',
|
||||
type: 'numeric',
|
||||
// @ts-ignore
|
||||
width: '10%',
|
||||
},
|
||||
{
|
||||
title: 'Build',
|
||||
@@ -146,6 +148,8 @@ const generatedColumns: TableColumn[] = [
|
||||
<RetryIcon />
|
||||
</Button>
|
||||
),
|
||||
// @ts-ignore
|
||||
width: '10%',
|
||||
},
|
||||
];
|
||||
export const CITable: FC<{
|
||||
|
||||
@@ -39,7 +39,7 @@ export const SettingsPage = () => {
|
||||
<InfoCard title="Authentication">
|
||||
<List>
|
||||
{authed ? (
|
||||
<>Already authed</>
|
||||
<>Authenticated</>
|
||||
) : (
|
||||
<>
|
||||
<ListItem>
|
||||
@@ -48,7 +48,7 @@ export const SettingsPage = () => {
|
||||
type="password"
|
||||
label="Token"
|
||||
value={token}
|
||||
onChange={e => setToken(e.target.value)}
|
||||
onChange={(e) => setToken(e.target.value)}
|
||||
/>
|
||||
</ListItem>
|
||||
|
||||
@@ -77,7 +77,7 @@ export const SettingsPage = () => {
|
||||
<InfoCard title="Project configuration">
|
||||
<ProjectInput
|
||||
apiGitInfo={api.options.vcs}
|
||||
setGitInfo={info => api.setVCSOptions(info)}
|
||||
setGitInfo={(info) => api.setVCSOptions(info)}
|
||||
/>
|
||||
</InfoCard>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user