protocol can be not set

fixing: #521
This commit is contained in:
Erik Jan de Wit 2021-04-13 10:01:21 +02:00
parent eb94ded90a
commit c0e881c591

View file

@ -395,7 +395,7 @@ export const AdvancedTab = ({
)} )}
<> <>
<Text className="pf-u-py-lg"> <Text className="pf-u-py-lg">
{t("clients-help:advancedSettings" + toUpperCase(protocol!))} {t("clients-help:advancedSettings" + toUpperCase(protocol || ""))}
</Text> </Text>
<AdvancedSettings <AdvancedSettings
protocol={protocol} protocol={protocol}