Skip to content

Commit

Permalink
Merge branch 'candidate-7.10.x'
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
  • Loading branch information
richardkchapman committed Aug 28, 2020
2 parents b76af64 + bf01bd5 commit 41783a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion esp/src/src/DataPatterns/AttributeDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class AttributeSummary extends StyledTable {
this
.data([
["Cardinality", row.cardinality, "(~" + (row.cardinality / row.fill_count * 100).toFixed(0) + "%)"],
["Filled", row.fill_count, fillRate <= config.fillRateRedThreshold ? `(<b style="color:${config.redColor}">` + fillRate + "%</b>)" : "(" + fillRate + "%)"]
["Filled", row.fill_count, "(" + fillRate + "%)"]
])
.tbodyColumnStyles([
{ "font-weight": "bold", "font-size": config.secondaryFontSize + "px", "width": "1%" },
Expand Down
3 changes: 1 addition & 2 deletions esp/src/src/DataPatterns/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ export const config = {
secondaryColor: "#DDD",
offwhiteColor: "#FBFBFB",
blueColor: "#1A99D5",
redColor: "#ED1C24",
fillRateRedThreshold: 33
redColor: "#ED1C24"
};
2 changes: 1 addition & 1 deletion esp/src/util/genLangTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

const fs = require('fs');

globalThis.define = nlsHPCC => {
global.define = nlsHPCC => {
fs.writeFileSync('./src/nlsHPCCType.ts', `\
export default interface nlsHPCC {
${Object.keys(nlsHPCC.root).map(id => ` ${id}: string;`).join("\n")}
Expand Down

0 comments on commit 41783a0

Please sign in to comment.