Skip to content

Commit

Permalink
[explode] Swap to "experimental" icon
Browse files Browse the repository at this point in the history
This swaps the previous use of "[experimental]" to a cleaner looking icon. I chose a wrench, thinking that this best represents work in progress.
  • Loading branch information
trvrb committed Mar 16, 2022
1 parent b990c6c commit 986c8d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/controls/choose-explode-attr.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
import { connect } from "react-redux";
import { withTranslation } from 'react-i18next';
import { FaWrench } from "react-icons/fa";

import { explodeTree } from "../../actions/tree";
import { SidebarSubtitle } from "./styles";
Expand All @@ -27,7 +28,7 @@ class ChooseExplodeAttr extends React.Component {
.filter(([key]) => key !== "gt")
.map(([key, value]) => ({value: key, label: value.title || key}));
if (this.props.selected) {
options.unshift({value: undefined, label: "Reconstruct"});
options.unshift({value: undefined, label: "None"});
}
return options;
}
Expand All @@ -38,7 +39,8 @@ class ChooseExplodeAttr extends React.Component {
return (
<div style={{paddingTop: 5}}>
<SidebarSubtitle>
{"[experimental] " + t("sidebar:Explode tree by")}
<FaWrench style={{ marginRight: "5px" }}/>
{t("sidebar:Explode Tree By")}
</SidebarSubtitle>
<div style={{width: controlsWidth, fontSize: 14}}>
<CustomSelect
Expand Down

0 comments on commit 986c8d2

Please sign in to comment.