scripts/apps/search/directives/EditTimeInterval.ts
Function EditTimeInterval
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function EditTimeInterval() {
return {
scope: {
initialValue: '=',
onChange: '=',
Function link
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope: IScope) {
const getDefaults = (): IModel => ({
everyDay: 'true',
customWeekdays: [],
everyHour: 'true',