mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(actions): qbit seedtime minutes instead of seconds (#468)
fix(actions): qbit seedtime limit minutes not seconds
This commit is contained in:
parent
300418b9f1
commit
34d2449751
1 changed files with 15 additions and 15 deletions
|
@ -1,17 +1,17 @@
|
|||
import {AlertWarning} from "../../components/alerts";
|
||||
import {DownloadClientSelect, NumberField, Select, SwitchGroup, TextField} from "../../components/inputs";
|
||||
import {ActionContentLayoutOptions, ActionTypeNameMap, ActionTypeOptions} from "../../domain/constants";
|
||||
import React, {Fragment, useRef} from "react";
|
||||
import {useQuery} from "react-query";
|
||||
import {APIClient} from "../../api/APIClient";
|
||||
import {Field, FieldArray, FieldProps, FormikValues} from "formik";
|
||||
import {EmptyListState} from "../../components/emptystates";
|
||||
import {useToggle} from "../../hooks/hooks";
|
||||
import {classNames} from "../../utils";
|
||||
import {Dialog, Switch as SwitchBasic, Transition} from "@headlessui/react";
|
||||
import {ChevronRightIcon} from "@heroicons/react/24/solid";
|
||||
import {DeleteModal} from "../../components/modals";
|
||||
import {CollapsableSection} from "./details";
|
||||
import { AlertWarning } from "../../components/alerts";
|
||||
import { DownloadClientSelect, NumberField, Select, SwitchGroup, TextField } from "../../components/inputs";
|
||||
import { ActionContentLayoutOptions, ActionTypeNameMap, ActionTypeOptions } from "../../domain/constants";
|
||||
import React, { Fragment, useRef } from "react";
|
||||
import { useQuery } from "react-query";
|
||||
import { APIClient } from "../../api/APIClient";
|
||||
import { Field, FieldArray, FieldProps, FormikValues } from "formik";
|
||||
import { EmptyListState } from "../../components/emptystates";
|
||||
import { useToggle } from "../../hooks/hooks";
|
||||
import { classNames } from "../../utils";
|
||||
import { Dialog, Switch as SwitchBasic, Transition } from "@headlessui/react";
|
||||
import { ChevronRightIcon } from "@heroicons/react/24/solid";
|
||||
import { DeleteModal } from "../../components/modals";
|
||||
import { CollapsableSection } from "./details";
|
||||
|
||||
interface FilterActionsProps {
|
||||
filter: Filter;
|
||||
|
@ -214,7 +214,7 @@ const TypeForm = ({ action, idx, clients }: TypeFormProps) => {
|
|||
/>
|
||||
<NumberField
|
||||
name={`actions.${idx}.limit_seed_time`}
|
||||
label="Seed time limit (seconds)"
|
||||
label="Seed time limit (minutes)"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue