diff options
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index da51040ad..75f4bdfe6 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -11,7 +11,7 @@ import { PluginService } from '@app/core/plugins/plugin.service' | |||
11 | import { CustomModalComponent } from '@app/modal/custom-modal.component' | 11 | import { CustomModalComponent } from '@app/modal/custom-modal.component' |
12 | import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' | 12 | import { InstanceConfigWarningModalComponent } from '@app/modal/instance-config-warning-modal.component' |
13 | import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' | 13 | import { WelcomeModalComponent } from '@app/modal/welcome-modal.component' |
14 | import { NgbModal } from '@ng-bootstrap/ng-bootstrap' | 14 | import { NgbConfig, NgbModal } from '@ng-bootstrap/ng-bootstrap' |
15 | import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' | 15 | import { peertubeLocalStorage } from '@root-helpers/peertube-web-storage' |
16 | import { getShortLocale, is18nPath } from '@shared/core-utils/i18n' | 16 | import { getShortLocale, is18nPath } from '@shared/core-utils/i18n' |
17 | import { BroadcastMessageLevel, ServerConfig, UserRole } from '@shared/models' | 17 | import { BroadcastMessageLevel, ServerConfig, UserRole } from '@shared/models' |
@@ -54,8 +54,11 @@ export class AppComponent implements OnInit, AfterViewInit { | |||
54 | private location: PlatformLocation, | 54 | private location: PlatformLocation, |
55 | private modalService: NgbModal, | 55 | private modalService: NgbModal, |
56 | private markdownService: MarkdownService, | 56 | private markdownService: MarkdownService, |
57 | private ngbConfig: NgbConfig, | ||
57 | public menu: MenuService | 58 | public menu: MenuService |
58 | ) { } | 59 | ) { |
60 | this.ngbConfig.animation = false | ||
61 | } | ||
59 | 62 | ||
60 | get instanceName () { | 63 | get instanceName () { |
61 | return this.serverConfig.instance.name | 64 | return this.serverConfig.instance.name |