From 3b188333564257223516a225d1b0573250d13929 Mon Sep 17 00:00:00 2001 From: pepper Date: Mon, 18 Jan 2021 01:44:09 -0500 Subject: [PATCH] Updated error printing --- src/components/actions/Msgbox.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/actions/Msgbox.js b/src/components/actions/Msgbox.js index 8d01d5d..421bdba 100644 --- a/src/components/actions/Msgbox.js +++ b/src/components/actions/Msgbox.js @@ -1,4 +1,5 @@ import React from "react"; +import { UList } from "../root/common/Functionality/UnorderedList"; // // Generic Msgbox function Msgbox(props) { @@ -7,7 +8,7 @@ function Msgbox(props) {
- { props.error ? { "Unable to update: " + props.error } + { props.error ? { "Unable to update: " } : props.msg ? { "Updated migration details for: " + props.msg } : props.linkid ? {process.env.REACT_APP_SITE_URL + "migrations/" + props.linkid }