0
Fork 0
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:
Naz 2022-07-07 11:13:55 +02:00
parent 831014859e
commit 11f7e89ee3

View file

@ -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);