mirror of
https://github.com/bitwarden/web
synced 2026-01-06 18:43:18 +00:00
29 lines
739 B
TypeScript
29 lines
739 B
TypeScript
import { Component } from '@angular/core';
|
|
import { FormBuilder } from '@angular/forms';
|
|
|
|
import { PolicyType } from 'jslib-common/enums/policyType';
|
|
|
|
import { BasePolicy, BasePolicyComponent } from './base-policy.component';
|
|
|
|
export class SendOptionsPolicy extends BasePolicy {
|
|
name = 'sendOptions';
|
|
description = 'sendOptionsPolicyDesc';
|
|
type = PolicyType.SendOptions;
|
|
component = SendOptionsPolicyComponent;
|
|
}
|
|
|
|
@Component({
|
|
selector: 'policy-send-options',
|
|
templateUrl: 'send-options.component.html',
|
|
})
|
|
export class SendOptionsPolicyComponent extends BasePolicyComponent {
|
|
|
|
data = this.fb.group({
|
|
disableHideEmail: false,
|
|
});
|
|
|
|
constructor(private fb: FormBuilder) {
|
|
super();
|
|
}
|
|
}
|