diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-22 16:31:47 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | 7663e55a2cc46a413bceee2787d48902b15ae642 (patch) | |
tree | c54d620617040642d962f9b8c74c7b8e2d745692 /client/src/app/search/search.component.ts | |
parent | e8f902c05cb35f6d5e9b75a23ddabd51c220a976 (diff) | |
download | PeerTube-7663e55a2cc46a413bceee2787d48902b15ae642.tar.gz PeerTube-7663e55a2cc46a413bceee2787d48902b15ae642.tar.zst PeerTube-7663e55a2cc46a413bceee2787d48902b15ae642.zip |
Log error on unknown hook
Diffstat (limited to 'client/src/app/search/search.component.ts')
-rw-r--r-- | client/src/app/search/search.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/search/search.component.ts b/client/src/app/search/search.component.ts index 55637771e..691e57619 100644 --- a/client/src/app/search/search.component.ts +++ b/client/src/app/search/search.component.ts | |||
@@ -79,6 +79,8 @@ export class SearchComponent implements OnInit, OnDestroy { | |||
79 | 79 | ||
80 | err => this.notifier.error(err.text) | 80 | err => this.notifier.error(err.text) |
81 | ) | 81 | ) |
82 | |||
83 | this.hooks.runAction('action:search.init') | ||
82 | } | 84 | } |
83 | 85 | ||
84 | ngOnDestroy () { | 86 | ngOnDestroy () { |