opf/openproject

View on GitHub
frontend/src/app/features/user-preferences/state/notification-setting.model.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function buildNotificationSetting has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function buildNotificationSetting(project:null|HalSourceLink, params:Partial<INotificationSetting>):INotificationSetting {
  return {
    _links: {
      project: {
        href: project ? project.href : null,

    There are no issues that match your filters.

    Category
    Status