Skip to content

Commit bb12217

Browse files
authored
Tag Manager Fix (#160)
* version update * fix embedded asset block file size display * correct tag manager script in the prod build * version bump
1 parent 4b6c800 commit bb12217

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

cer-graphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cer-graphql",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "A GraphQL server used to proxy and authorise requests to external data sources.",
55
"main": "build/index.js",
66
"scripts": {

hub-search-proxy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hub-search-proxy",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "Serverless Framework Lambda functions to interact with AWS ElasticSearch Service.",
55
"main": "handler.js",
66
"scripts": {

research-hub-web/angular.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,10 @@
8282
{
8383
"replace": "src/environments/environment.ts",
8484
"with": "src/environments/environment.prod.ts"
85-
},
86-
{
87-
"replace": "src/tagManager.js",
88-
"with": "src/tagManager.prod.js"
8985
}
86+
],
87+
"scripts": [
88+
"src/tagManager.prod.js"
9089
]
9190
},
9291
"test": {

research-hub-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "research-hub-web",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"license": "MIT",
55
"scripts": {
66
"ng": "ng",

research-hub-web/src/app/components/shared/body-media/body-media.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export class BodyMediaComponent extends NodeRenderer implements OnInit {
3333
// For each type of node, first filter out null values, then find matching node.
3434
case 'embedded-asset-block':
3535
this.contentItem = this.returnVal$.assets['block'].filter(x => x).find(x => x.sys.id == this.data.data.target.sys.id);
36-
this.contentItem['size'] = Math.round(this.contentItem['size'] / 1000) + (Math.round(this.contentItem['size'] % 1000) / 100);
3736
break;
3837
case 'embedded-entry-block':
3938
this.contentItem = this.returnVal$.entries['block'].filter(x => x).find(x => x.sys.id == this.data.data.target.sys.id);

0 commit comments

Comments
 (0)