mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: add namespace to keywords
This commit is contained in:
1 file changed
+4
-4
@@ -17,9 +17,9 @@ import {
|
||||
|
||||
const list = [];
|
||||
const filterTags = {};
|
||||
const pinned: Record<string, string[]> = { category: [], difficulty: [] };
|
||||
const selections = { category: {}, difficulty: {} };
|
||||
const selectedTags: Record<string, string[]> = { category: [], difficulty: [] };
|
||||
const pinned: Record<string, string[]> = { category: [], difficulty: [], namespace: [] };
|
||||
const selections = { category: {}, difficulty: {}, namespace: {} };
|
||||
const selectedTags: Record<string, string[]> = { category: [], difficulty: [], namespace: [] };
|
||||
|
||||
let selectedPids: string[] = [];
|
||||
let clearSelectionHandler: (() => void) | null = null;
|
||||
@@ -35,7 +35,7 @@ function setDomSelected($dom, selected, icon?) {
|
||||
}
|
||||
|
||||
const parserOptions = {
|
||||
keywords: ['category', 'difficulty'],
|
||||
keywords: ['category', 'difficulty', 'namespace'],
|
||||
offsets: true,
|
||||
alwaysArray: true,
|
||||
tokenize: true,
|
||||
|
||||
Reference in new issue
Block a user