Skip to content

Commit

Permalink
🔨 chore: correctly disable 'create incident' button
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Apr 9, 2022
1 parent c38430c commit 2e5683b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export function ActiveIncidents() {
variant={null}
className="dark:bg-gray-2 dark:hover:bg-dark-bg bg-gray-500 hover:bg-gray-600 text-white"
onClick={handleCreateIncident}
disabled={!hasActiveDispatchers}
>
{t("createIncident")}
</Button>
Expand Down

0 comments on commit 2e5683b

Please sign in to comment.