From 20d930a11a1a08722bde76378696e7fae1ba1e5e Mon Sep 17 00:00:00 2001 From: Tomasz Golabek Date: Thu, 11 Apr 2019 10:21:52 +0200 Subject: Ability to disable GAB filters. Filters for preconfigured columns can be disabled using props. (Should be merged after 'Dynamic columns in GAB table') Change-Id: Id740ceb211c3978499b9c69197929a43e61e9cdc Issue-ID: SDC-2234 Signed-off-by: Tomasz Golabek --- catalog-ui/src/app/models/paths-and-names.ts | 2 +- .../generic-artifact-browser.component.html | 1 + .../generic-artifact-browser/generic-artifact-browser.component.ts | 7 +++++++ .../tabs/deployment-artifacts/deployment-artifacts-view-model.ts | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) (limited to 'catalog-ui/src/app') diff --git a/catalog-ui/src/app/models/paths-and-names.ts b/catalog-ui/src/app/models/paths-and-names.ts index 43136378c0..7304d9641f 100644 --- a/catalog-ui/src/app/models/paths-and-names.ts +++ b/catalog-ui/src/app/models/paths-and-names.ts @@ -19,5 +19,5 @@ */ export class PathsAndNamesDefinition { - constructor(public path: string, public friendlyName: string, public searchable: boolean) {} + constructor(public path: string, public friendlyName: string, public searchable: boolean = true) {} } \ No newline at end of file diff --git a/catalog-ui/src/app/ng2/components/logic/generic-artifact-browser/generic-artifact-browser.component.html b/catalog-ui/src/app/ng2/components/logic/generic-artifact-browser/generic-artifact-browser.component.html index ad1ebcb094..41ecaa899e 100644 --- a/catalog-ui/src/app/ng2/components/logic/generic-artifact-browser/generic-artifact-browser.component.html +++ b/catalog-ui/src/app/ng2/components/logic/generic-artifact-browser/generic-artifact-browser.component.html @@ -38,6 +38,7 @@
config.artifactType === artifact.artifactType); -- cgit 1.2.3-korg