From 1bff862c0ecc50f1c092b9f73b0b8fd8a9a98632 Mon Sep 17 00:00:00 2001 From: Rodiel Martinez <10471758+Rodielm@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:56:55 +0100 Subject: [PATCH] wc: fix select grid-config #TASK-5070 --- .../commons/catalog-browser-grid-config.js | 4 ++-- .../variant-interpreter-grid-config.js | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/webcomponents/commons/catalog-browser-grid-config.js b/src/webcomponents/commons/catalog-browser-grid-config.js index f38354d7c7..f9b31a5909 100644 --- a/src/webcomponents/commons/catalog-browser-grid-config.js +++ b/src/webcomponents/commons/catalog-browser-grid-config.js @@ -203,7 +203,8 @@ export default class CatalogBrowserGridConfig extends LitElement { .data="${this.config.pageList}" .value="${this.config.pageSize}" .config="${{ - multiple: false + multiple: false, + liveSearch: false, }}" @filterChange="${e => dataFormFilterChange(e.detail.value)}"> @@ -231,7 +232,6 @@ export default class CatalogBrowserGridConfig extends LitElement { .value="${this.selectedColumns?.join(",")}" .config="${{ title: "Columns", - tags: false, liveSearch: false, }}" @filterChange="${e => dataFormFilterChange(e.detail.value)}"> diff --git a/src/webcomponents/variant/interpretation/variant-interpreter-grid-config.js b/src/webcomponents/variant/interpretation/variant-interpreter-grid-config.js index 70ae4d0674..4a6d3496d8 100644 --- a/src/webcomponents/variant/interpretation/variant-interpreter-grid-config.js +++ b/src/webcomponents/variant/interpretation/variant-interpreter-grid-config.js @@ -19,6 +19,7 @@ import LitUtils from "../../commons/utils/lit-utils.js"; import OpencgaCatalogUtils from "../../../core/clients/opencga/opencga-catalog-utils.js"; import NotificationUtils from "../../commons/utils/notification-utils.js"; import "../../commons/forms/data-form.js"; +import "../../commons/forms/select-field-filter2.js"; export default class VariantInterpreterGridConfig extends LitElement { @@ -217,13 +218,16 @@ export default class VariantInterpreterGridConfig extends LitElement { containerStyle: "margin: 5px 5px 5px 0px", render: (columns, dataFormFilterChange) => { return html` - - + `; } } @@ -248,8 +252,7 @@ export default class VariantInterpreterGridConfig extends LitElement { .value="${this.selectedColumns?.join(",")}" .config="${{ title: "Columns", - tags: false, - liveSearch: false + liveSearch: false, }}" @filterChange="${e => dataFormFilterChange(e.detail.value)}">