mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: domain_dashboard: show owner
This commit is contained in:
1 parent
c57b304576
commit
f5f82cd513
2 files changed
+3
-1
No files matched your search
@@ -111,8 +111,9 @@ class DomainEditHandler extends ManageHandler {
|
||||
|
||||
class DomainDashboardHandler extends ManageHandler {
|
||||
async get() {
|
||||
const owner = await user.getById(this.domain._id, this.domain.owner);
|
||||
this.response.template = 'domain_dashboard.html';
|
||||
this.response.body = { domain: this.domain };
|
||||
this.response.body = { domain: this.domain, owner };
|
||||
}
|
||||
|
||||
async postInitDiscussionNode({ domainId }) {
|
||||
|
||||
Reference in new issue
Block a user