This commit is contained in:
Andrei Pohilko
2025-07-07 14:04:09 +01:00
parent f22c84c288
commit 2da8f23285
6 changed files with 25 additions and 28 deletions

View File

@@ -39,7 +39,8 @@ export default function ErrorModal({
and support.{" "}
<a
href="https://www.komodor.com/helm-dash/?utm_campaign=Helm%20Dashboard%20%7C%20CTA&utm_source=helm-dash&utm_medium=cta&utm_content=helm-dash"
target="_blank" rel="noreferrer"
target="_blank"
rel="noreferrer"
>
<span className="text-link-color underline">Sign up for free.</span>
</a>

View File

@@ -17,7 +17,10 @@ export const GeneralDetails = ({
onReleaseNameInput: (chartName: string) => void;
}) => {
const [namespaceInputValue, setNamespaceInputValue] = useState(namespace);
const namespaceInputValueDebounced = useDebounce<string>(namespaceInputValue, 500);
const namespaceInputValueDebounced = useDebounce<string>(
namespaceInputValue,
500
);
useEffect(() => {
onNamespaceInput(namespaceInputValueDebounced);
}, [namespaceInputValueDebounced, onNamespaceInput]);

View File

@@ -21,9 +21,7 @@ export default function RevisionsList({
const { namespace, chart } = useParams();
const changeRelease = (newRevision: number) => {
navigate(
`/${namespace}/${chart}/installed/revision/${newRevision}`
);
navigate(`/${namespace}/${chart}/installed/revision/${newRevision}`);
};
return (

View File

@@ -4,11 +4,10 @@ import DropDown from "../components/common/DropDown";
import WatcherIcon from "../assets/k8s-watcher.svg";
import ShutDownButton from "../components/ShutDownButton";
import {
BsSlack,
BsGithub,
BsArrowRepeat,
BsBraces,
BsBoxArrowUpRight,
BsBraces,
BsGithub,
} from "react-icons/bs";
import { useGetApplicationStatus } from "../API/other";
import LinkWithSearchParams from "../components/LinkWithSearchParams";
@@ -25,10 +24,6 @@ export default function Header() {
const location = useLocation();
const openSupportChat = () => {
window.open("https://app.slack.com/client/T03Q4H8PCRW", "_blank");
};
const openProjectPage = () => {
window.open("https://github.com/komodorio/helm-dashboard", "_blank");
};