From: Dessalines Date: Tue, 23 Mar 2021 22:40:49 +0000 (-0400) Subject: New fixes. X-Git-Url: http://these/git/%22https:/www.exeterceilidhs.net/static/gitweb.css?a=commitdiff_plain;h=62a6e82e9b42172d7eb5b722b5bac289faeec08d;p=lemmy-ui.git New fixes. --- diff --git a/package.json b/package.json index ef7b088..afe96b3 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "eslint": "^7.20.0", "eslint-plugin-prettier": "^3.3.1", "husky": "^5.1.0", - "lemmy-js-client": "0.10.0-rc.5", + "lemmy-js-client": "0.10.0-rc.9", "lint-staged": "^10.5.4", "mini-css-extract-plugin": "^1.3.8", "node-fetch": "^2.6.1", diff --git a/src/shared/components/person.tsx b/src/shared/components/person.tsx index fc0962a..fdc9479 100644 --- a/src/shared/components/person.tsx +++ b/src/shared/components/person.tsx @@ -1001,7 +1001,7 @@ export class Person extends Component { i.state.userSettingsForm.matrix_user_id = event.target.value; if ( i.state.userSettingsForm.matrix_user_id == "" && - !UserService.Instance.localUserView.local_user.matrix_user_id + !UserService.Instance.localUserView.person.matrix_user_id ) { i.state.userSettingsForm.matrix_user_id = undefined; } @@ -1098,7 +1098,7 @@ export class Person extends Component { this.state.userSettingsForm.send_notifications_to_email = UserService.Instance.localUserView.local_user.send_notifications_to_email; this.state.userSettingsForm.matrix_user_id = - UserService.Instance.localUserView.local_user.matrix_user_id; + UserService.Instance.localUserView.person.matrix_user_id; } } diff --git a/yarn.lock b/yarn.lock index bbc8762..694628f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5022,10 +5022,10 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" -lemmy-js-client@0.10.0-rc.5: - version "0.10.0-rc.5" - resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.10.0-rc.5.tgz#96b7b34575c7eda6c99a291f4f679bda4c6af6a9" - integrity sha512-mLvQgzGTrOFe7KIO8o2oZBPp/8gJ309VO58EaP+7/BgbHD0GPemzqFdeNOMyIe2WyQsXhGrtHOjiTfBXyZDOoQ== +lemmy-js-client@0.10.0-rc.9: + version "0.10.0-rc.9" + resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.10.0-rc.9.tgz#34d20541faffa12c45d9bed1d61d5695df1c497f" + integrity sha512-ZowaY303QvfN8rBocVfGKQmnC2B7nfJgb5+GvzH85vrUO3hOroQCbGOZ0eXEWtX1c3/OuOI7sAaKkB4Urpa/HA== levn@^0.4.1: version "0.4.1"