From 16c167f18071f0574d1e0cfc0e3985013e2ce32a Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Tue, 5 Apr 2022 21:14:16 -0400 Subject: [PATCH] ui: hide triggered by and status filters for now (#12472) --- ui/app/routes/evaluations/index.js | 7 ++- ui/app/templates/evaluations/index.hbs | 18 ++++---- ui/tests/acceptance/evaluations-test.js | 58 ++++++++++++++++--------- 3 files changed, 52 insertions(+), 31 deletions(-) diff --git a/ui/app/routes/evaluations/index.js b/ui/app/routes/evaluations/index.js index a737258dc..691d9ec39 100644 --- a/ui/app/routes/evaluations/index.js +++ b/ui/app/routes/evaluations/index.js @@ -32,7 +32,9 @@ export default class EvaluationsIndexRoute extends Route { nextToken, pageSize, searchTerm, + // eslint-disable-next-line no-unused-vars status, + // eslint-disable-next-line no-unused-vars triggeredBy, type, qpNamespace: namespace, @@ -57,8 +59,9 @@ export default class EvaluationsIndexRoute extends Route { namespace, per_page: pageSize, next_token: nextToken, - status, - triggeredBy, + // TODO: add support for status and triggeredBy filters + //status, + //triggeredBy, filter: generateFilter(), }); } diff --git a/ui/app/templates/evaluations/index.hbs b/ui/app/templates/evaluations/index.hbs index 25dc27f55..381dd399b 100644 --- a/ui/app/templates/evaluations/index.hbs +++ b/ui/app/templates/evaluations/index.hbs @@ -12,6 +12,7 @@ />
+ {{!-- TODO: add support for status and triggered by - + --}} +
{{#if @model.length}} @@ -71,7 +73,7 @@