rel profit first version

This commit is contained in:
David Brazda
2023-10-20 21:48:46 +02:00
parent d5ebfee762
commit 47e2e255c7
11 changed files with 73 additions and 15 deletions

View File

@@ -710,7 +710,7 @@ var archiveRecords =
//zobrazujeme jen kratkou summary pokud mame, jinak davame vse, do titlu davame vzdy vse
//console.log(data)
short = null
if ((data.profit) && (data.profit.sum)) {
if ((data) && (data.profit) && (data.profit.sum)) {
short = data.profit.sum
}
else {

View File

@@ -28,7 +28,7 @@ Prism.languages.log = {
alias: ['error', 'important']
},
{
pattern: /\b(?:WARN|WARNING|WRN|ENTRY|LP|SL)\b/,
pattern: /\b(?:WARN|WARNING|WRN|ENTRY|LP|SL|PROFIT|profit|profit_rel)\b/,
alias: ['warning', 'important']
},
{