aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/services/indexfactory.ts
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/services/indexfactory.ts')
-rw-r--r--viewer/src/services/indexfactory.ts6
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
20import { Operation } from '@/@types/Operation'; 20import { Operation } from "@/@types/Operation";
21import Navigation from '@/services/navigation'; 21import Navigation from "@/services/navigation";
22 22
23export default class IndexFactory { 23export 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));