mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(feeds): view last run with baseurl (#628)
fix(feeds): last run baseurl link
This commit is contained in:
parent
b99bc5b95a
commit
12d05f0748
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import { useMutation, useQuery, useQueryClient } from "react-query";
|
|||
import { APIClient } from "../../api/APIClient";
|
||||
import { Menu, Switch, Transition } from "@headlessui/react";
|
||||
|
||||
import { classNames, IsEmptyDate, simplifyDate } from "../../utils";
|
||||
import { baseUrl, classNames, IsEmptyDate, simplifyDate } from "../../utils";
|
||||
import { Fragment, useRef, useState } from "react";
|
||||
import { toast } from "react-hot-toast";
|
||||
import Toast from "../../components/notifications/Toast";
|
||||
|
@ -251,7 +251,7 @@ const FeedItemDropdown = ({
|
|||
<Menu.Item>
|
||||
{({ active }) => (
|
||||
<a
|
||||
href={`/api/feeds/${feed.id}/latest`}
|
||||
href={`${baseUrl()}api/feeds/${feed.id}/latest`}
|
||||
target="_blank"
|
||||
className={classNames(
|
||||
active ? "bg-blue-600 text-white" : "text-gray-900 dark:text-gray-300",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue