vue-advanced-chat icon indicating copy to clipboard operation
vue-advanced-chat copied to clipboard

Found error img.path not defined

Open yogs22 opened this issue 9 months ago • 0 comments

Describe the bug

In my message list, i adding embed image. But i got error in console

img.path not defined in line 6535

This not effected to my application but the error log was very annoying

Steps to reproduce

  1. Adding embed image url in message
  2. If check log, there will be an error appear "img.path is not defined"

Expected behavior

  1. Add an logic to avoid if the img has no path, so the error will be not appear

Screenshots

WhatsApp Image 2023-09-21 at 09 50 37

Device (please complete the following information)

  • Firefox & Chrome latest

Additional context

The message body :


Dear LP team,

A0912XALLLSDASAAX.
Please check

 ![](https://i.pcmag.com/imagery/articles/007cgCeF2SOUL9OBpHBmdPi-8..v1569470614.jpg)

yogs22 avatar Sep 21 '23 04:09 yogs22