mirror of https://github.com/morpheus65535/bazarr
Fix button forced light
This commit is contained in:
parent
a0ea59a3cc
commit
b927e2390c
|
@ -267,7 +267,7 @@ const ProfileEditForm: FunctionComponent<Props> = ({
|
|||
columns={columns}
|
||||
data={form.values.items}
|
||||
></SimpleTable>
|
||||
<Button fullWidth color="light" onClick={addItem}>
|
||||
<Button fullWidth onClick={addItem}>
|
||||
Add Language
|
||||
</Button>
|
||||
<Selector
|
||||
|
|
|
@ -355,7 +355,7 @@ const EqualsTable: FunctionComponent<EqualsTableProps> = () => {
|
|||
return (
|
||||
<>
|
||||
<SimpleTable data={equals} columns={columns}></SimpleTable>
|
||||
<Button fullWidth disabled={!canAdd} color="light" onClick={add}>
|
||||
<Button fullWidth disabled={!canAdd} onClick={add}>
|
||||
{canAdd ? "Add Equal" : "No Enabled Languages"}
|
||||
</Button>
|
||||
</>
|
||||
|
|
|
@ -163,7 +163,6 @@ const Table: FunctionComponent = () => {
|
|||
<Button
|
||||
fullWidth
|
||||
disabled={!canAdd}
|
||||
color="light"
|
||||
onClick={() => {
|
||||
const profile = {
|
||||
profileId: nextProfileId,
|
||||
|
|
|
@ -141,7 +141,7 @@ export const PathMappingTable: FunctionComponent<TableProps> = ({ type }) => {
|
|||
columns={columns}
|
||||
data={data}
|
||||
></SimpleTable>
|
||||
<Button fullWidth color="light" onClick={addRow}>
|
||||
<Button fullWidth onClick={addRow}>
|
||||
Add
|
||||
</Button>
|
||||
</>
|
||||
|
|
|
@ -49,7 +49,7 @@ const UIError: FunctionComponent<Props> = ({ error }) => {
|
|||
<Anchor href={`${GithubRepoRoot}/issues/new/choose`} target="_blank">
|
||||
<Button color="yellow">Report Issue</Button>
|
||||
</Anchor>
|
||||
<Button onClick={Reload} color="light">
|
||||
<Button onClick={Reload}>
|
||||
Reload Page
|
||||
</Button>
|
||||
</Group>
|
||||
|
|
Loading…
Reference in New Issue