From d8ae664ece416ecc3e6451f3256e7c32bd4ffb70 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Fri, 18 Mar 2022 02:45:06 -0700 Subject: [PATCH] description of mongo mount --- cli/src/components/FinalConfig.tsx | 11 ++++------- cli/src/components/mongo/SetupMongo.tsx | 8 +++----- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/cli/src/components/FinalConfig.tsx b/cli/src/components/FinalConfig.tsx index cbf37d06a..b89084f9b 100644 --- a/cli/src/components/FinalConfig.tsx +++ b/cli/src/components/FinalConfig.tsx @@ -29,15 +29,12 @@ const FinalConfig = (p: { - - mongo url:{" "} - - {p.config.mongoURL} - + + mongo url: {p.config.mongoURL} - + use builds:{" "} - + {p.config.useBuilds ? "yes" : "no"} diff --git a/cli/src/components/mongo/SetupMongo.tsx b/cli/src/components/mongo/SetupMongo.tsx index a61954029..a34279b46 100644 --- a/cli/src/components/mongo/SetupMongo.tsx +++ b/cli/src/components/mongo/SetupMongo.tsx @@ -2,9 +2,7 @@ import { CommandLogError } from "@monitor/types"; import { Box, Newline, Text, useInput } from "ink"; import React, { Fragment, useState } from "react"; import { startMongo } from "../../helpers/mongo"; -import { useBlinker } from "../../hooks"; import LabelledSelector from "../util/LabelledSelector"; -import Selector from "../util/Selector"; import YesNo from "../util/YesNo"; const RESTART_MODES = ["no", "on-failure", "always", "unless-stopped"]; @@ -164,7 +162,7 @@ const SetupMongo = ({ )} {stage === "volume" && volume === undefined && ( { if (use === "yes") { @@ -178,7 +176,7 @@ const SetupMongo = ({ )} {(volume || volume === false) && ( - volume:{" "} + {volume ? "mount folder: " : "mount: "} {volume || "no"} {stage === "volume" && blinker ? "|" : ""} @@ -242,7 +240,7 @@ const SetupMongo = ({ )} {stage === "finish" && result && !result.isError && ( - press{" "} + Success! Press{" "} enter {" "}