add try catch to video.foreach and video.pause

This commit is contained in:
Eudes Inácio
2024-02-05 10:29:42 +01:00
parent a873e192ee
commit d7980908dd
7 changed files with 137 additions and 56 deletions
@@ -349,7 +349,7 @@ export class PublicationsPage implements OnInit {
componentProps: {
publicationType: publicationType,
folderId: folderId,
intent: intent
intent: window["sharedContent"]
},
cssClass: 'new-publication modal modal-desktop',
backdropDismiss: false
@@ -362,8 +362,8 @@ export class PublicationsPage implements OnInit {
}
goToPublicationsList(folderId: string) {
if(this.intent){
this.AddPublication('2',folderId,this.intent)
if(window["sharedContent"]){
this.AddPublication('2',folderId,window["sharedContent"])
return
}
if (window.innerWidth < 701) {