From 06f84f7e678fca28f5621613e86b274ce39f515f Mon Sep 17 00:00:00 2001 From: MT Lewis Date: Tue, 1 Feb 2022 14:21:39 +0000 Subject: [PATCH] Stop abbreviating 'params' to make Vale happy Signed-off-by: MT Lewis --- .changeset/itchy-bulldogs-dance.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.changeset/itchy-bulldogs-dance.md b/.changeset/itchy-bulldogs-dance.md index b3d34654e8..a2acad4d34 100644 --- a/.changeset/itchy-bulldogs-dance.md +++ b/.changeset/itchy-bulldogs-dance.md @@ -2,4 +2,9 @@ '@backstage/plugin-catalog-react': patch --- -Fix bug: previously the filter would be set to "all" on page load, even if the `initiallySelectedFilter` on the `DefaultCatalogPage` was set to something else, or a different query param was supplied. Now, the prop and query params control the filter as expected. Additionally, after this change any filters which match 0 items will be disabled, and the filter will be reverted to 'all' if they're set on page load. +Fix bug: previously the filter would be set to "all" on page load, even if the +`initiallySelectedFilter` on the `DefaultCatalogPage` was set to something else, +or a different query parameter was supplied. Now, the prop and query parameters +control the filter as expected. Additionally, after this change any filters +which match 0 items will be disabled, and the filter will be reverted to 'all' +if they're set on page load.