mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
fix style in CodeViewSwitcher
This commit is contained in:
@@ -37,7 +37,7 @@ const CodeViewSwitcher: FC<Props> = ({ url, branches }) => {
|
|||||||
<SmallButton
|
<SmallButton
|
||||||
label={t("code.commits")}
|
label={t("code.commits")}
|
||||||
icon="fa fa-exchange-alt"
|
icon="fa fa-exchange-alt"
|
||||||
color={url.includes("/code/branch/") || url.includes("/code/changesets/") ? "link is-selected" : undefined}
|
color={url.includes("/code/branch") || url.includes("/code/changesets") ? "link is-selected" : undefined}
|
||||||
link={branches ? createDestinationUrl("branch", "changesets/") : createDestinationUrl("changesets")}
|
link={branches ? createDestinationUrl("branch", "changesets/") : createDestinationUrl("changesets")}
|
||||||
/>
|
/>
|
||||||
<SmallButton
|
<SmallButton
|
||||||
|
|||||||
Reference in New Issue
Block a user