Skip to content

Web interface shows no emails #25

@mvalenzisi

Description

@mvalenzisi

Hi,
after sending the first email, the web interface stops working:

TypeError: Cannot read property 'value' of undefined
    at N (App.js:23)
    at Zi (react-dom.production.min.js:3273)
    at Ra (react-dom.production.min.js:3899)
    at Bo (react-dom.production.min.js:5514)
    at $o (react-dom.production.min.js:5536)
    at Pl (react-dom.production.min.js:5958)
    at Ol (react-dom.production.min.js:5925)
    at xl (react-dom.production.min.js:5860)
    at Ko (react-dom.production.min.js:5787)
    at Object.enqueueSetState (react-dom.production.min.js:2789)
App.js:23 Uncaught (in promise) TypeError: Cannot read property 'value' of undefined
    at N (App.js:23)
    at Zi (react-dom.production.min.js:3273)
    at Ra (react-dom.production.min.js:3899)
    at Bo (react-dom.production.min.js:5514)
    at $o (react-dom.production.min.js:5536)
    at Pl (react-dom.production.min.js:5958)
    at Ol (react-dom.production.min.js:5925)
    at xl (react-dom.production.min.js:5860)
    at Ko (react-dom.production.min.js:5787)
    at Object.enqueueSetState (react-dom.production.min.js:2789)

Messages are still visibile via the api:

$ curl --silent http://localhost:1080/api/emails | jq
[
  {
    "attachments": [],
    "headerLines": [
      {
        "key": "subject",
        "line": "Subject: bla bla"
      },
      {
        "key": "",
        "line": "Hello,"
      },
      {
        "key": "",
        "line": "bla bla bla"
      }
    ],
    "subject": "bla bla",
    "html": false
  }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions