redesigned white labeling code
This commit is contained in:
parent
a84c09a5c8
commit
81c2b687fa
9 changed files with 423 additions and 418 deletions
|
|
@ -7,7 +7,7 @@ import { CheckCircleOutline } from "@mui/icons-material";
|
|||
import { green } from "@mui/material/colors";
|
||||
import Tour, { TourStep } from "common/Tour";
|
||||
import Emoji from "react-emoji-render";
|
||||
import { getWhitelabel, IsAdaptiveAgriculture } from "services/whiteLabel";
|
||||
import { getWhitelabel, getFeatures } from "services/whiteLabel";
|
||||
import { pond } from "protobuf-ts/pond";
|
||||
import { User } from "models";
|
||||
// import { color } from "framer-motion";
|
||||
|
|
@ -154,7 +154,7 @@ export default function SignupCallback () {
|
|||
<MenuItem value={pond.DistanceUnit.DISTANCE_UNIT_FEET}>Feet (ft)</MenuItem>
|
||||
</TextField>
|
||||
</Grid2>
|
||||
{IsAdaptiveAgriculture() && (
|
||||
{getFeatures().grainUnit && (
|
||||
<Grid2 size={{ xs: 12 }}>
|
||||
<TextField
|
||||
select
|
||||
|
|
@ -294,7 +294,7 @@ export default function SignupCallback () {
|
|||
placement: "right"
|
||||
})
|
||||
//tasks step
|
||||
if (IsAdaptiveAgriculture()) {
|
||||
if (getFeatures().visualFarm) {
|
||||
steps.push({
|
||||
title: "Visual Farm",
|
||||
content: (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue