sr-npm 1.7.936 → 1.7.938

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.936",
3
+ "version": "1.7.938",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,6 +16,11 @@ async function supportTeasmPageOnReady(_$w) {
16
16
  async function handleVideoSection(_$w) {
17
17
  console.log("inside video section");
18
18
  console.log("currentItem: ",currentItem);
19
+ if(!currentItem.videoExists) {
20
+ console.log("Video does not exist , collapsing video section ");
21
+ collapseSection(_$w,"video");
22
+ return;
23
+ }
19
24
 
20
25
  }
21
26
 
@@ -44,6 +49,7 @@ async function handleRecentJobsSection(_$w) {
44
49
  console.log("valueId: ",valueId);
45
50
  const Value=await getValueFromValueId(valueId);
46
51
  console.log("Value: ",Value);
52
+ console.log("testt@#!!@#!#@#!@!@!@#")
47
53
  if(Value===undefined) {
48
54
  console.log("Value is undefined , collapsing recently Jobs Section ");
49
55
  collapseSection(_$w,"recentJobs");