mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added missing tagsIndex initialization
refs https://github.com/TryGhost/Team/issues/1665 - It is not striclty necessary for the tagsIndex declaration to be in the constructor, but it gives a very clear indication of which variables are a part of the class.
This commit is contained in:
parent
831014859e
commit
11f7e89ee3
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ export default class SearchIndex {
|
|||
|
||||
this.postsIndex = null;
|
||||
this.authorsIndex = null;
|
||||
this.tagsIndex = null;
|
||||
|
||||
this.init = this.init.bind(this);
|
||||
this.search = this.search.bind(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue