mark this parameter as optional
authorJason Etheridge <jason@EquinoxOLI.org>
Mon, 27 Mar 2023 18:47:16 +0000 (14:47 -0400)
committerJason Etheridge <phasefx@gmail.com>
Sun, 14 May 2023 13:04:50 +0000 (09:04 -0400)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/cat/linkchecker/linkchecker.component.ts

index 3df2e17..e4c7a84 100644 (file)
@@ -171,7 +171,7 @@ export class LinkCheckerComponent implements OnInit {
         });
     }
 
-       newSessionWrapper(optionalSessionToClone) {
+       newSessionWrapper(optionalSessionToClone?) {
         this.newSessionDialog.sessionToClone = optionalSessionToClone;
                this.newSessionDialog.open({size: 'lg'}).subscribe( (res) => {
             console.log('dialog res', res);