diff options
Diffstat (limited to 'client/src/app/shared/shared-instance/instance-about-accordion.component.ts')
-rw-r--r-- | client/src/app/shared/shared-instance/instance-about-accordion.component.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-instance/instance-about-accordion.component.ts b/client/src/app/shared/shared-instance/instance-about-accordion.component.ts index e299a64a3..a7c521876 100644 --- a/client/src/app/shared/shared-instance/instance-about-accordion.component.ts +++ b/client/src/app/shared/shared-instance/instance-about-accordion.component.ts | |||
@@ -62,6 +62,14 @@ export class InstanceAboutAccordionComponent implements OnInit { | |||
62 | this.pluginPanels = await this.hookService.wrapObject([], this.pluginScope, this.pluginHook) | 62 | this.pluginPanels = await this.hookService.wrapObject([], this.pluginScope, this.pluginHook) |
63 | } | 63 | } |
64 | 64 | ||
65 | expandTerms () { | ||
66 | this.accordion.expand('terms') | ||
67 | } | ||
68 | |||
69 | expandCodeOfConduct () { | ||
70 | this.accordion.expand('code-of-conduct') | ||
71 | } | ||
72 | |||
65 | getAdministratorsPanel () { | 73 | getAdministratorsPanel () { |
66 | if (!this.about) return false | 74 | if (!this.about) return false |
67 | if (!this.panels.administrators) return false | 75 | if (!this.panels.administrators) return false |