mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:03:45 +08:00
DEV: Fix resolvedTimezone deprecation in chat-live-pane (#19436)
c.f. 7d7551adfc
This commit is contained in:
parent
8b3c6cd396
commit
8676a55c83
|
@ -170,10 +170,7 @@ export default Component.extend({
|
||||||
didReceiveAttrs() {
|
didReceiveAttrs() {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
|
|
||||||
this.currentUserTimezone = this.currentUser?.resolvedTimezone(
|
this.currentUserTimezone = this.currentUser?.user_option.timezone;
|
||||||
this.currentUser
|
|
||||||
);
|
|
||||||
|
|
||||||
this.set("targetMessageId", this.chat.messageId);
|
this.set("targetMessageId", this.chat.messageId);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user