|
|
|
@ -14,7 +14,7 @@ |
|
|
|
/// limitations under the License.
|
|
|
|
///
|
|
|
|
|
|
|
|
import { Component, DestroyRef, Inject, OnDestroy, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
|
|
|
import { Component, DestroyRef, Inject, OnInit, SkipSelf, ViewChild } from '@angular/core'; |
|
|
|
import { ErrorStateMatcher } from '@angular/material/core'; |
|
|
|
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; |
|
|
|
import { Store } from '@ngrx/store'; |
|
|
|
@ -69,7 +69,7 @@ export interface WidgetActionDialogData { |
|
|
|
styleUrls: [] |
|
|
|
}) |
|
|
|
export class WidgetActionDialogComponent extends DialogComponent<WidgetActionDialogComponent, |
|
|
|
WidgetActionDescriptorInfo> implements OnInit, OnDestroy, ErrorStateMatcher { |
|
|
|
WidgetActionDescriptorInfo> implements OnInit, ErrorStateMatcher { |
|
|
|
|
|
|
|
widgetActionFormGroup: FormGroup; |
|
|
|
|
|
|
|
@ -169,10 +169,6 @@ export class WidgetActionDialogComponent extends DialogComponent<WidgetActionDia |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
ngOnDestroy() { |
|
|
|
super.ngOnDestroy(); |
|
|
|
} |
|
|
|
|
|
|
|
widgetHeaderButtonValidators() { |
|
|
|
const buttonType = this.widgetActionFormGroup.get('buttonType').value; |
|
|
|
this.widgetActionFormGroup.get('showIcon').disable({emitEvent: false}); |
|
|
|
|