aleph-im / aleph-explorer

Simple explorer for the Aleph.im network
4 stars 2 forks source link

Null post crashes the view #88

Closed lgaroche closed 4 months ago

lgaroche commented 5 months ago

I created a null post using the aleph post command (type null when prompted for the content). It created a post with an undefined content.

In the message list, this causes an error and the list is not loaded, see this search link.

The error comes from this line, where JSON.stringify(undefined) is undefined https://github.com/aleph-im/aleph-explorer/blob/master/src/components/MessageList.vue#L74

nesitor commented 4 months ago

Fixed on https://github.com/aleph-im/aleph-explorer/pull/89 pull request.