Adrià Vilanova MartÃnez | c9a3df1 | 2025-02-08 23:16:12 +0100 | [diff] [blame^] | 1 | import { OptionsConfiguration } from '../../../common/options/OptionsConfiguration'; |
| 2 | |
| 3 | export interface IsBulkReportRepliesFeatureEnabledService { |
| 4 | isEnabled(configuration: OptionsConfiguration): boolean; |
| 5 | } |
| 6 | |
| 7 | export class IsBulkReportRepliesFeatureEnabledServiceAdapter { |
| 8 | isEnabled(configuration: OptionsConfiguration): boolean { |
| 9 | return ( |
| 10 | configuration.isEnabled('bulkreportreplies') && |
| 11 | configuration.isEnabled('bulkreportreplies_switch_enabled') |
| 12 | ); |
| 13 | } |
| 14 | } |