diff --git a/src/components/views/settings/DevicesPanel.js b/src/components/views/settings/DevicesPanel.js index 8dd6bb9230..2914b0789d 100644 --- a/src/components/views/settings/DevicesPanel.js +++ b/src/components/views/settings/DevicesPanel.js @@ -52,7 +52,7 @@ export default class DevicesPanel extends React.Component { (error) => { if (this._unmounted) { return; } var errtxt; - if (err.httpStatus == 404) { + if (error.httpStatus == 404) { // 404 probably means the HS doesn't yet support the API. errtxt = "Your home server does not support device management."; } else { @@ -127,6 +127,7 @@ export default class DevicesPanel extends React.Component { return (