Skip to content

Commit

Permalink
fix(feeds): view last run with baseurl (#628)
Browse files Browse the repository at this point in the history
fix(feeds): last run baseurl link
  • Loading branch information
zze0s committed Jan 7, 2023
1 parent b99bc5b commit 12d05f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/screens/settings/Feed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 12d05f0

Please sign in to comment.