mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
fix(web): download client table overflow, filter alerts, dubious wording (#521)
* fix table overflow in settings -> download client * fixed uneven line height in CellLine component * filters/details: rename "Cancel" to "Reset form values" Added log level and log path to Application settings. Added column truncation to Download Client settings. * feat: change settings debug toggle wording * fix: typo in irc add form
This commit is contained in:
parent
f811b80413
commit
b6ba23d0ee
7 changed files with 88 additions and 49 deletions
|
@ -1,11 +1,14 @@
|
|||
import { FC } from "react";
|
||||
import { SettingsContext } from "../utils/Context";
|
||||
|
||||
interface DebugProps {
|
||||
values: unknown;
|
||||
}
|
||||
|
||||
const DEBUG: FC<DebugProps> = ({ values }) => {
|
||||
if (process.env.NODE_ENV !== "development") {
|
||||
const settings = SettingsContext.useValue();
|
||||
|
||||
if (process.env.NODE_ENV !== "development" || !settings.debug) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue