mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
fix style in CodeViewSwitcher
This commit is contained in:
@@ -37,7 +37,7 @@ const CodeViewSwitcher: FC<Props> = ({ url, branches }) => {
|
||||
<SmallButton
|
||||
label={t("code.commits")}
|
||||
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")}
|
||||
/>
|
||||
<SmallButton
|
||||
|
||||
Reference in New Issue
Block a user