Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit authored and github-actions[bot] committed Feb 25, 2025
1 parent c4a5118 commit 7293c67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Services/WebhookService.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ protected function isStatusCommentEnabled(array $payload): bool
{
$fieldType = $payload['changes']['field_value']['field_type'] ?? '';

return !((string) $fieldType === 'Status'
return !(
(string) $fieldType === 'Status'
&& (bool) config('github-project.enable_status_comment') === false
);
}
Expand Down

0 comments on commit 7293c67

Please sign in to comment.