diff options
Diffstat (limited to 'viewer/src/services/indexfactory.ts')
-rw-r--r-- | viewer/src/services/indexfactory.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/viewer/src/services/indexfactory.ts b/viewer/src/services/indexfactory.ts index 18a2800..e402185 100644 --- a/viewer/src/services/indexfactory.ts +++ b/viewer/src/services/indexfactory.ts | |||
@@ -17,8 +17,8 @@ | |||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | 17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | import { Operation } from '@/@types/Operation'; | 20 | import { Operation } from "@/@types/Operation"; |
21 | import Navigation from '@/services/navigation'; | 21 | import Navigation from "@/services/navigation"; |
22 | 22 | ||
23 | export default class IndexFactory { | 23 | export default class IndexFactory { |
24 | 24 | ||
@@ -35,7 +35,7 @@ export default class IndexFactory { | |||
35 | return; // Directories are not indexed | 35 | return; // Directories are not indexed |
36 | } | 36 | } |
37 | for (const tag of item.tags) { | 37 | for (const tag of item.tags) { |
38 | const parts = tag.split(':'); | 38 | const parts = tag.split(":"); |
39 | let lastPart: string | null = null; | 39 | let lastPart: string | null = null; |
40 | for (const part of parts) { | 40 | for (const part of parts) { |
41 | tagsIndex[part] = IndexFactory.pushPartToIndex(tagsIndex[part], part, item, !Boolean(lastPart)); | 41 | tagsIndex[part] = IndexFactory.pushPartToIndex(tagsIndex[part], part, item, !Boolean(lastPart)); |