Signatures k162 types (#77)

* feat(Signatures): Added ability to specify K162 type (actually next types supported Hi/Low/Null/C1-C6/Thera/Pochven)
This commit is contained in:
Dmitry Popov
2024-11-27 19:37:10 +04:00
committed by GitHub
parent 099650420d
commit ef5f36e4c4
20 changed files with 649 additions and 721 deletions

View File

@@ -84,7 +84,7 @@ export const SystemSignaturesContent = ({
const tooltipRef = useRef<WdTooltipHandlers>(null);
const lazyDeleteValue = useMemo(() => {
return settings.find(setting => setting.key === LAZY_DELETE_SIGNATURES_SETTING)!.value;
return settings.find(setting => setting.key === LAZY_DELETE_SIGNATURES_SETTING)?.value ?? false;
}, [settings]);
const handleResize = useCallback(() => {