frontend/logs/components/settings_menu.tsx
Function render
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { setFilterLevel, sourceFbosConfig, getConfigValue } = this.props;
const LogSettingRow = (settingProps: LogSettingRecord) => {
const { label, setting, tooltip } = settingProps;
return <LogSetting
Function LogSetting
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const LogSetting = (props: LogSettingProps) => {
const { label, setting, toolTip, setFilterLevel, sourceFbosConfig } = props;
/** Update the current filter level to a minimum needed for log display. */
const updateMinFilterLevel = (key: keyof Filters, level: number) => {
const currentLevel =