Skip to content

Search bar: Take cluster filter into account when listing offline clusters#25910

Merged
ravicious merged 2 commits intomasterfrom
ravicious/filter-offline
May 11, 2023
Merged

Search bar: Take cluster filter into account when listing offline clusters#25910
ravicious merged 2 commits intomasterfrom
ravicious/filter-offline

Conversation

@ravicious
Copy link
Copy Markdown
Member

When a cluster filter was selected, the search bar ignored it when listing offline clusters, leading to a situations like this one:

offline clusters

Here the cluster filter limits the search only to the teleport-local cluster. But the message below says that the other cluster was excluded from the search due to having an expired cert.

This PR takes care of that by making sure that we only list a single offline cluster if the cluster filter is selected.

@github-actions github-actions Bot requested review from rudream and ryanclark May 9, 2023 14:59
@ravicious ravicious requested review from avatus and gzdunek and removed request for rudream and ryanclark May 9, 2023 14:59
@ravicious ravicious requested a review from ryanclark May 11, 2023 12:37
Base automatically changed from ravicious/preview-errors to master May 11, 2023 14:54
@ravicious ravicious force-pushed the ravicious/filter-offline branch from 5392f8c to c64b21d Compare May 11, 2023 14:55
@ravicious ravicious enabled auto-merge May 11, 2023 14:55
@ravicious ravicious added this pull request to the merge queue May 11, 2023
Merged via the queue into master with commit 8b4400a May 11, 2023
@ravicious ravicious deleted the ravicious/filter-offline branch May 11, 2023 15:27
@public-teleport-github-review-bot
Copy link
Copy Markdown

@ravicious See the table below for backport results.

Branch Result
branch/v13 Failed

@public-teleport-github-review-bot
Copy link
Copy Markdown

@ravicious See the table below for backport results.

Branch Result
branch/v13 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants