Skip to content

Commit

Permalink
Updated styling
Browse files Browse the repository at this point in the history
  • Loading branch information
anti-mony committed Oct 21, 2020
1 parent 9815f5b commit 2fd7946
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frontend/components/CuratorElements/Publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ const validate = (editing, metadata) => {
if (incomplete.length > 0) {
errors.push(
<Fragment>
The following required sections are not saved, please complete them (if
not already) and save them:
<strong>
The following required sections are not saved, please complete them
(if not already) and save them:
</strong>
<ul>
{incomplete.map((el, i) => (
<li key={i}>{variableTotext[el]}</li>
Expand All @@ -63,10 +65,10 @@ const validate = (editing, metadata) => {
str += "You ";
}
str +=
"need atleast one item in each of the sections below to publish on Qresp";
"need atleast one item in each of the sections below to publish on Qresp:";
errors.push(
<Fragment>
{str}
<strong>{str}</strong>
<ul>
{charts.length == 0 && <li>Charts</li>}
{datasets.length == 0 && <li>Datasets</li>}
Expand Down

0 comments on commit 2fd7946

Please sign in to comment.