Search bar refactored with Nodes and Channels
This commit is contained in:
@@ -21,7 +21,7 @@ export class QrcodeComponent implements AfterViewInit {
|
||||
) { }
|
||||
|
||||
ngOnChanges() {
|
||||
if (!this.canvas.nativeElement) {
|
||||
if (!this.canvas || !this.canvas.nativeElement) {
|
||||
return;
|
||||
}
|
||||
this.render();
|
||||
|
||||
Reference in New Issue
Block a user