Skip to content

Commit

Permalink
fix: github link, version in title
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshan Ghojoghi committed Oct 26, 2023
1 parent 5b8cdf0 commit 0710a51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/components/validation-type/BackendValidation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,11 @@ export default function BackendValidation({
</Select>
<Button
onClick={() => {
setCurrentVersion("");
const distro = key;
const initialVersion =
initialDistroItems?.find((distro) => distro.provider === data[key]?.provider)?.version || "";

setCurrent({ provider: data[key]?.provider || "", version: currentVersion, distro: key });
const version = currentVersion ? currentVersion : initialVersion;
setCurrent({ provider: data[key]?.provider || "", version: version, distro: key });

const updateUrl = `&distro=${distro}&distroVersion=${
currentVersion ? currentVersion : initialVersion
Expand Down
2 changes: 1 addition & 1 deletion src/components/validation-type/ValidationTypeContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function ContentRow({
<p className="text-[13px] font-normal text-neutral-600">
{description}
{backend && (
<a href="#" className="text-neutral-600">
<a href="https://github.com/dash0hq/otelbin" className="text-neutral-600" target="_blank">
{"( "}
<span className="text-[11px] font-normal text-neutral-950">
{"see code"}
Expand Down

0 comments on commit 0710a51

Please sign in to comment.