Merge pull request #1059 from occupytheweb/1058_fix__instruction_not_displayed

1058: Fix display of task instruction
This commit is contained in:
AbdBarho
2023-02-01 21:49:25 +01:00
committed by GitHub
+2 -2
View File
@@ -49,9 +49,9 @@ export const CreateTask = ({
</>
<>
<Stack spacing="4">
{!!i18n.exists(`task.${taskType.id}.instruction`) && (
{!!i18n.exists(`tasks:${taskType.id}.instruction`) && (
<Text fontSize="xl" fontWeight="bold" color={titleColor}>
{t(getTypeSafei18nKey(`${taskType.id}.instruction`))}
{t(getTypeSafei18nKey(`tasks:${taskType.id}.instruction`))}
</Text>
)}
<TrackedTextarea