scripts/core/services/modalService.tsx
Function showPrintableModal
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function showPrintableModal(
Component: React.ComponentType<IPropsPrintableModal>,
) {
showModal(({closeModal}) => {
return (
Function getErrorsModal
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getErrorsModal(
title: string,
errors: Array<string>,
description?: string,
) {
Function confirmBase
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function confirmBase(
bodyText,
headerText,
okText,
cancelText,
Function confirmArgumentsList
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
bodyText = defaults.bodyText,
headerText = defaults.headerText,
okText = defaults.okText,
cancelText = defaults.cancelText,
additionalCancelText = defaults.additionalCancelText,
Function confirmBase
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
bodyText,
headerText,
okText,
cancelText,
additionalCancelText,