- {left?.map((leftChild, idx, arr) => (
+ {left?.map((leftChild) => (
<>
{leftChild}
- {idx < arr.length - 1 &&
}
+
>
))}
- {left !== undefined &&
}
= ({
autocomplete={autocomplete ? 'on' : 'off'}
/>
- {right !== undefined &&
}
- {right?.map((rightChild, idx, arr) => (
+ {right?.map((rightChild) => (
<>
+
{rightChild}
- {idx < arr.length - 1 &&
}
>
))}
diff --git a/app/assets/javascripts/components/Icon.tsx b/app/assets/javascripts/components/Icon.tsx
index 7814ba9b6..bbd43d7f0 100644
--- a/app/assets/javascripts/components/Icon.tsx
+++ b/app/assets/javascripts/components/Icon.tsx
@@ -27,6 +27,7 @@ import CopyIcon from '../../icons/ic-copy.svg';
import DownloadIcon from '../../icons/ic-download.svg';
import InfoIcon from '../../icons/ic-info.svg';
import CheckIcon from '../../icons/ic-check.svg';
+import CheckBoldIcon from '../../icons/ic-check-bold.svg';
import { toDirective } from './utils';
import { FunctionalComponent } from 'preact';
@@ -59,7 +60,8 @@ const ICONS = {
copy: CopyIcon,
download: DownloadIcon,
info: InfoIcon,
- check: CheckIcon
+ check: CheckIcon,
+ "check-bold": CheckBoldIcon,
};
export type IconType = keyof typeof ICONS;
diff --git a/app/assets/javascripts/preferences/PreferencesView.tsx b/app/assets/javascripts/preferences/PreferencesView.tsx
index 9ed5cf152..3a9540196 100644
--- a/app/assets/javascripts/preferences/PreferencesView.tsx
+++ b/app/assets/javascripts/preferences/PreferencesView.tsx
@@ -35,6 +35,7 @@ const PaneSelector: FunctionComponent<