mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-23 11:33:14 +00:00
#94 deleted added to level 2
This commit is contained in:
parent
f3e7aff65a
commit
41929f8eb6
3 changed files with 11 additions and 6 deletions
|
@ -136,7 +136,8 @@
|
|||
"Duration",
|
||||
"Added",
|
||||
"Updated",
|
||||
"Poster url"
|
||||
"Poster url",
|
||||
"Deleted"
|
||||
|
||||
],
|
||||
"level3": [
|
||||
|
@ -275,6 +276,12 @@
|
|||
"key": "viewCount",
|
||||
"call": 1,
|
||||
"type": "string"
|
||||
},
|
||||
"Deleted":
|
||||
{
|
||||
"key": "$.deletedAt",
|
||||
"call": 1,
|
||||
"type": "datetime"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
"levels": {
|
||||
"Level 1": "level1",
|
||||
"Level 2": "level2",
|
||||
"Level 3": "level3",
|
||||
"Level 4": "level4",
|
||||
"devTommy": "devtommy"
|
||||
},
|
||||
"LevelCount": {
|
||||
|
|
|
@ -641,8 +641,8 @@ const excel2 = new class Excel {
|
|||
}
|
||||
break;
|
||||
case "datetime":
|
||||
val = JSONPath({path: String(lookup), json: data});
|
||||
if ( typeof val !== 'undefined' && val )
|
||||
val = JSONPath({path: String(lookup), json: data});
|
||||
if ( typeof val !== 'undefined' && val && val != '')
|
||||
{
|
||||
// Create a new JavaScript Date object based on the timestamp
|
||||
// multiplied by 1000 so that the argument is in milliseconds, not seconds.
|
||||
|
@ -658,7 +658,7 @@ const excel2 = new class Excel {
|
|||
}
|
||||
else
|
||||
{
|
||||
val = null
|
||||
val = wtconfig.get('ET.NotAvail', 'N/A')
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue