Skip to content

Commit

Permalink
fix: Fix an issue where global disabling of chat cannot be overriden
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Aug 1, 2024
1 parent 584575b commit 04e9aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/BlockService/ChatDisabledProcessor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const processChatDisabled = async (block: Block, setTextAreaDisabled: (in
params: Params) => {

const chatDisabled = block.chatDisabled;
if (!chatDisabled) {
if (chatDisabled == null) {
return;
}

Expand Down

0 comments on commit 04e9aa1

Please sign in to comment.