Skip to content

Commit

Permalink
Merge pull request activepieces#4968 from activepieces/fix/canvas-uti…
Browse files Browse the repository at this point in the history
…ls-btns

fix: remove check marks from toggler mat buttons
  • Loading branch information
AbdulTheActivePiecer authored Jun 23, 2024
2 parents d9583ed + 0d875cc commit 54cb67f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/ui/common/src/lib/ui-common.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ import { MatSliderModule } from '@angular/material/slider';
import { MatSnackBarModule } from '@angular/material/snack-bar';
import { ImgFallbackDirective } from './directives/image-fallback.directive';
import { MAT_SNACK_BAR_DEFAULT_OPTIONS } from '@angular/material/snack-bar';
import { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS } from '@angular/material/button-toggle';
import { ScrollingModule } from '@angular/cdk/scrolling';
import { ArrayFormControlComponent } from './components/array-form-control/array-form-control.component';
import { UpgradeNoteComponent } from '././components/upgrade-note/upgrade-note.component';
Expand Down Expand Up @@ -205,6 +206,13 @@ export function markedOptionsFactory() {
],
providers: [
{ provide: MAT_SNACK_BAR_DEFAULT_OPTIONS, useValue: { duration: 2500 } },
{
provide: MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS,
useValue: {
hideMultipleSelectionIndicator: true,
hideSingleSelectionIndicator: true,
},
},
{
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
useValue: { appearance: 'outline' },
Expand Down

0 comments on commit 54cb67f

Please sign in to comment.