upd
This commit is contained in:
+3
-1
@@ -1 +1,3 @@
|
||||
VITE_SERVER_URL=http://192.168.1.170:3001
|
||||
# VITE_SERVER_URL=http://localhost:3001
|
||||
VITE_SERVER_URL=http://192.168.1.170:3001
|
||||
# VITE_SERVER_URL=https://crm.stream.graff.tech/api
|
||||
@@ -4,6 +4,8 @@ import { useEffect, useState } from "react";
|
||||
import SelectUser from "./SelectUser";
|
||||
import MoreIcon from "./icons/MoreIcon";
|
||||
import api from "../utils/api";
|
||||
import Button from "./Button";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
interface CardProps {
|
||||
companyId: string;
|
||||
@@ -99,12 +101,20 @@ function Card({
|
||||
{manager ? manager.name : "Не назначен"}
|
||||
</p>
|
||||
</div>
|
||||
<button
|
||||
onClick={() => setIsShow(!isShow)}
|
||||
className="p-1 text-[#77828C] hover:bg-neutral-100 rounded-lg"
|
||||
>
|
||||
<MoreIcon />
|
||||
</button>
|
||||
|
||||
<div className="flex gap-2">
|
||||
{manager && (
|
||||
<Link to={`http://192.168.1.170:5000/scheduled/${scheduledSessionId}`} target="_blank">
|
||||
<Button>Начать</Button>
|
||||
</Link>
|
||||
)}
|
||||
<button
|
||||
onClick={() => setIsShow(!isShow)}
|
||||
className="p-1 text-[#77828C] hover:bg-neutral-100 rounded-lg"
|
||||
>
|
||||
<MoreIcon />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user