Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/components/integration/single-integration-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const SingleIntegrationCard: React.FC<Props> = observer(({ integration })
<h3 className="flex items-center gap-2 text-sm font-medium">
{integration.title}
{workspaceIntegrations
? isInstalled && <CheckCircle className="h-3.5 w-3.5 text-white fill-green-500" />
? isInstalled && <CheckCircle className="h-3.5 w-3.5 text-green-500 fill-transparent" />
: null}
</h3>
<p className="text-sm text-custom-text-200 tracking-tight">
Expand Down
8 changes: 8 additions & 0 deletions web/components/labels/create-label-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,18 @@ export const CreateLabelModal: React.FC<Props> = observer((props) => {
control,
reset,
setValue,
setFocus,
} = useForm<IIssueLabels>({
defaultValues,
});

/**
* For setting focus on name input
*/
useEffect(() => {
setFocus("name");
}, [setFocus, isOpen]);

useEffect(() => {
if (isOpen) setValue("color", getRandomLabelColor());
}, [setValue, isOpen]);
Expand Down