Browse Source

Merge pull request #14559 from ArtemDzhereleiko/AD/bug-fix/color-settings-placement

Fixed color settings panel placement
pull/14578/head
Vladyslav Prykhodko 10 months ago
committed by GitHub
parent
commit
3b2e04e111
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings.component.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/color-settings.component.ts

@ -164,7 +164,7 @@ export class ColorSettingsComponent implements OnInit, ControlValueAccessor, OnD
renderer: this.renderer, renderer: this.renderer,
componentType: ColorSettingsPanelComponent, componentType: ColorSettingsPanelComponent,
hostView: this.viewContainerRef, hostView: this.viewContainerRef,
preferredPlacement: 'left', preferredPlacement: ['leftTopOnly', 'leftOnly', 'leftBottomOnly'],
context: { context: {
colorSettings: this.modelValue, colorSettings: this.modelValue,
settingsComponents: this.colorSettingsComponentService.getOtherColorSettingsComponents(this), settingsComponents: this.colorSettingsComponentService.getOtherColorSettingsComponents(this),

Loading…
Cancel
Save