Skip to content

Commit

Permalink
Merge pull request #3022 from ingef/hotfix/add-missing-expand-icons
Browse files Browse the repository at this point in the history
Add missing expand icons
  • Loading branch information
thoniTUB authored Apr 4, 2023
2 parents 7399cb0 + e68a13e commit e9c36ab
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import styled from "@emotion/styled";
import {
faCompressArrowsAlt,
faExpandArrowsAlt,
} from "@fortawesome/free-solid-svg-icons";
import { useRef, FC } from "react";
import { useDrag } from "react-dnd";
import { useTranslation } from "react-i18next";
Expand Down Expand Up @@ -146,9 +150,7 @@ const FormConceptNode: FC<PropsT> = ({
{expand && expand.expandable && (
<WithTooltip text={t("externalForms.common.concept.expand")}>
<SxIconButton
icon={
expand.active ? "compress-arrows-alt" : "expand-arrows-alt"
}
icon={expand.active ? faCompressArrowsAlt : faExpandArrowsAlt}
tiny
onClick={(e) => {
e.stopPropagation();
Expand Down

0 comments on commit e9c36ab

Please sign in to comment.