From 4f3165879941ec340a3f14f4de538edd0c296b76 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Wed, 17 Nov 2021 16:11:45 +0100 Subject: [PATCH] vs-input.t: emit 'search-change' also on search symbol --- src/app.ts | 3 +-- src/assets/scss/main-styles.scss | 1 + src/components/vs-input/vs-input.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.ts b/src/app.ts index 4778775..05e505e 100644 --- a/src/app.ts +++ b/src/app.ts @@ -5,10 +5,9 @@ import VsResult from "./components/vs-result/vs-result.vue"; import FacetCategory from "./components/face-category/facet-category.vue"; import { SolrSettings } from "@/models/solr"; import { DatasetService } from "./services/dataset.service"; -import { Dataset, Suggestion } from "./models/dataset"; +import { Suggestion } from "./models/dataset"; import { SolrResponse, FacetFields, FacetItem, FacetResults } from "./models/headers"; import { ActiveFilterCategories } from "@/models/solr"; -import { deserialize } from "class-transformer"; @Options({ components: { diff --git a/src/assets/scss/main-styles.scss b/src/assets/scss/main-styles.scss index 159638f..dd3b6ab 100644 --- a/src/assets/scss/main-styles.scss +++ b/src/assets/scss/main-styles.scss @@ -8,6 +8,7 @@ html, body { font-size: 0.92rem; } + .columns{margin: 0;} /*footer {*/ /* !*position: absolute;*!*/ diff --git a/src/components/vs-input/vs-input.ts b/src/components/vs-input/vs-input.ts index a6e6c53..0a53dc6 100644 --- a/src/components/vs-input/vs-input.ts +++ b/src/components/vs-input/vs-input.ts @@ -115,7 +115,7 @@ export default class VsInput extends Vue { // this.$emit("clear"); } - // @Emit("search-change") + @Emit("search-change") search(): string { this.results = []; // this.$emit("search", this.display)