Skip to content

Commit 1b5a7b8

Browse files
committed
fix: don't allow redis disabling from dashboard
1 parent 8b9bcdf commit 1b5a7b8

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

dashboard/src/components/EnvComponents/Features.tsx

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -71,28 +71,6 @@ const Features = ({ variables, setVariables }: any) => {
7171
/>
7272
</Flex>
7373
</Flex>
74-
<Flex>
75-
<Flex
76-
w="100%"
77-
justifyContent="center"
78-
alignItems="start"
79-
flexDirection="column"
80-
>
81-
<Text fontSize="sm">
82-
Disable Redis for storing environment variables:
83-
</Text>
84-
<Text fontSize="sm" fontStyle="italic" color="blackAlpha.500">
85-
Note: this needs server restart
86-
</Text>
87-
</Flex>
88-
<Flex justifyContent="start" mb={3}>
89-
<InputField
90-
variables={variables}
91-
setVariables={setVariables}
92-
inputType={SwitchInputType.DISABLE_REDIS_FOR_ENV}
93-
/>
94-
</Flex>
95-
</Flex>
9674
</Stack>
9775
</div>
9876
);

0 commit comments

Comments
 (0)