diff options
-rw-r--r-- | core/src/views/UnifiedSearch.vue | 11 | ||||
-rw-r--r-- | tsconfig.json | 5 |
2 files changed, 10 insertions, 6 deletions
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue index 198e952d9c9..e87d7dc6a63 100644 --- a/core/src/views/UnifiedSearch.vue +++ b/core/src/views/UnifiedSearch.vue @@ -90,11 +90,12 @@ </template> <!-- Grouped search results --> - <template v-for="({list, type}, typesIndex) in orderedResults" v-else :key="type"> - <h2 class="unified-search__results-header"> - {{ typesMap[type] }} - </h2> - <ul class="unified-search__results" + <template v-for="({list, type}, typesIndex) in orderedResults" v-else> + <h2 :key="type" class="unified-search__results-header"> + {{ typesMap[type] }} + </h2> + <ul :key="type" + class="unified-search__results" :class="`unified-search__results-${type}`" :aria-label="typesMap[type]"> <!-- Search results --> diff --git a/tsconfig.json b/tsconfig.json index 6049d729938..e813dbc0bde 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@vue/tsconfig/tsconfig.json", - "include": ["./apps/**/*.ts", "./apps/**/*.vue", "./core/**/*.ts", "./*.d.ts"], + "include": ["./apps/**/*.ts", "./apps/**/*.vue", "./core/**/*.ts", "./core/**/*.vue", "./*.d.ts"], "compilerOptions": { "types": ["jest", "node", "vue", "vue-router"], "outDir": "./dist/", @@ -18,6 +18,9 @@ "resolveJsonModule": true, "strict": true, }, + "vueCompilerOptions": { + "target": 2.7 + }, "ts-node": { // these options are overrides used only by ts-node // same as our --compilerOptions flag and our TS_NODE_COMPILER_OPTIONS environment variable |