Skip to content

Commit

Permalink
Revert "Alternate description for disabled filters"
Browse files Browse the repository at this point in the history
This reverts commit 059fb7e.
  • Loading branch information
JasonWeill committed Mar 6, 2024
1 parent f4c011e commit 27ed1d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion packages/documentsearch/src/searchview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ class SearchOverlay extends React.Component<ISearchOverlayProps> {
description={
description + (name == 'selection' ? selectionKeyHint : '')
}
isEnabled={isEnabled}
isEnabled={!showReplace || filter.supportReplace}
onToggle={async () => {
await this.props.onFilterChanged(
name,
Expand Down
4 changes: 0 additions & 4 deletions packages/documentsearch/src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ export interface IFilter {
* Filter description
*/
description: string;
/**
* Filter description to be used when the filter is disabled in replace mode.
*/
disabledDescription?: string;
/**
* Default value
*/
Expand Down

0 comments on commit 27ed1d0

Please sign in to comment.