Added group permissions. Added some global styles. Made groups rely on services' data.
This commit is contained in:
@@ -25,7 +25,7 @@ const Policies = [
|
||||
{ path: "tts.commands.version", description: "To use !version command" },
|
||||
{ path: "tts.commands.voice", description: "To use !voice command" },
|
||||
{ path: "tts.commands.voice.admin", description: "To use !voice command on others" },
|
||||
]
|
||||
];
|
||||
|
||||
@Component({
|
||||
selector: 'policy-dropdown',
|
||||
@@ -42,7 +42,7 @@ const Policies = [
|
||||
})
|
||||
export class PolicyDropdownComponent {
|
||||
@Input() policy: string | null = '';
|
||||
policyControl = new FormControl('', [Validators.required]);
|
||||
@Input({ alias: 'control' }) policyControl = new FormControl('', [Validators.required]);
|
||||
filteredPolicies: Observable<string[]>;
|
||||
|
||||
constructor() {
|
||||
|
||||
Reference in New Issue
Block a user