Skip to content

Commit

Permalink
fix(search-indexes): add delete index status (#4859)
Browse files Browse the repository at this point in the history
  • Loading branch information
mabaasit authored Sep 18, 2023
1 parent bc0f5ef commit 9874eee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const statusBadgeVariants: Record<SearchIndexStatus, BadgeVariant> = {
PENDING: BadgeVariant.Yellow,
READY: BadgeVariant.Green,
STALE: BadgeVariant.LightGray,
DELETING: BadgeVariant.Red,
};

function IndexStatus({
Expand Down
3 changes: 2 additions & 1 deletion packages/data-service/src/search-index-detail-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export type SearchIndexStatus =
| 'FAILED'
| 'PENDING'
| 'READY'
| 'STALE';
| 'STALE'
| 'DELETING';

export type SearchIndex = {
id: string;
Expand Down

0 comments on commit 9874eee

Please sign in to comment.