Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Update logic for canSave() to allow saving regardless of the enabled value. (#2538)

Harpreet Singheebfbe5d8dcc
diff --git a/web/components/config/notification/twitter.tsx b/web/components/config/notification/twitter.tsx
index 82e44dcae2..c31d99c438 100644
--- a/web/components/config/notification/twitter.tsx
+++ b/web/components/config/notification/twitter.tsx
@@ -53,18 +53,10 @@ export const ConfigNotify = () => {
}, [twitter]);
const canSave = (): boolean => {
- const {
- enabled,
- apiKey,
- apiSecret,
- accessToken,
- accessTokenSecret,
- bearerToken,
- goLiveMessage,
- } = formDataValues;
+ const { apiKey, apiSecret, accessToken, accessTokenSecret, bearerToken, goLiveMessage } =
+ formDataValues;
return (
- enabled &&
!!apiKey &&
!!apiSecret &&
!!accessToken &&