aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-01 11:24:41 +0200
committerChocobozzz <me@florianbigard.com>2018-10-01 11:24:41 +0200
commit2a27c451f78922107c3f056e7506be8a79b31e03 (patch)
tree212003b0fa2d0fc36a1203eeb501a36566d9b4eb /client
parente37c85e933b320173c271fd1f6471679b759bc39 (diff)
downloadPeerTube-2a27c451f78922107c3f056e7506be8a79b31e03.tar.gz
PeerTube-2a27c451f78922107c3f056e7506be8a79b31e03.tar.zst
PeerTube-2a27c451f78922107c3f056e7506be8a79b31e03.zip
Update changelog
Diffstat (limited to 'client')
-rw-r--r--client/src/hmr.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/hmr.ts b/client/src/hmr.ts
index d5306a7a2..adfbca7d9 100644
--- a/client/src/hmr.ts
+++ b/client/src/hmr.ts
@@ -9,7 +9,7 @@ export const hmrBootstrap = (module: any, bootstrap: () => Promise<NgModuleRef<a
9 .then(mod => { 9 .then(mod => {
10 ngModule = mod 10 ngModule = mod
11 11
12 const applicationRef = ngModule.injector.get(ApplicationRef); 12 const applicationRef = ngModule.injector.get(ApplicationRef)
13 const componentRef = applicationRef.components[ 0 ] 13 const componentRef = applicationRef.components[ 0 ]
14 // allows to run `ng.profiler.timeChangeDetection();` 14 // allows to run `ng.profiler.timeChangeDetection();`
15 enableDebugTools(componentRef) 15 enableDebugTools(componentRef)