@dotglitch/ngx-common 1.0.14 → 1.0.15

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.
@@ -305,7 +305,7 @@ class TooltipDirective {
305
305
  return;
306
306
  // If the click trigger is set, we will immediately open the tooltip.
307
307
  // This will bypass all other triggers.
308
- if (this.config.triggers.includes("click")) {
308
+ if (this.config?.triggers?.includes("click")) {
309
309
  if (!this.dialogInstance) {
310
310
  const el = this.viewContainer.element.nativeElement;
311
311
  const data = this.data;