Skip to content

Commit

Permalink
chore: change success install button to green
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-vm committed Nov 27, 2023
1 parent ba0cd24 commit 1b65f07
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
import { Modal, type ModalRef } from "components/Modal";
import { useWorkspaces, usesPieces } from "context/workspaces";
import { type Differences } from "features/workflowEditor/utils/importWorkflow";
import theme from "providers/theme.config";
import React, { forwardRef, useCallback, useMemo, useState } from "react";
import { Link } from "react-router-dom";
import { toast } from "react-toastify";
Expand Down Expand Up @@ -162,6 +163,14 @@ export const DifferencesModal = forwardRef<ModalRef, Props>(
variant="outlined"
onClick={handleInstallMissingRepositories}
disabled={installState !== 0}
style={
installState === 2
? {
borderColor: theme.palette.success.main,
color: theme.palette.success.main,
}
: {}
}
>
{installState === 1 && (
<>
Expand Down

0 comments on commit 1b65f07

Please sign in to comment.