Discourse Meta
Userクラスをインポートして、Userを使用する代わりにする
開発
Falco
(Falco)
2020 年 1 月 23 日午後 11:27
2
変更
var currentUser = Discourse.User.current();
を
var currentUser = api.getCurrentUser();
トピックに投稿を表示
関連トピック
トピック
返信
表示
アクティビティ
How to find out if user logged in
Support
5
1292
2020 年 10 月 3 日
Import Category class in a component
Development
2
1154
2020 年 1 月 13 日
Set current User in Javascript
Development
6
3246
2017 年 9 月 18 日
Deprecation notice: Import getURL
Support
1
557
2020 年 7 月 13 日
Modernizing inline script tags for templates & JS API
Development
dev-news
46
5916
2026 年 3 月 25 日