conflicts resolved

This commit is contained in:
Gomathi 2025-03-31 19:25:44 +05:30
parent 6b8ccc02c7
commit d4e4952de4
7 changed files with 13 additions and 11 deletions

View File

@ -265,12 +265,11 @@ const DroppedObjects: React.FC = () => {
animationRef.current = null; animationRef.current = null;
} }
} catch (error) { } catch (error) {
console.error("Error in handlePointerUp:", error);
} }
}; };
const handleKebabClick = (id: string, event: React.MouseEvent) => { const handleKebabClick = (id: string, event: React.MouseEvent) => {
event.stopPropagation(); event.stopPropagation();
setOpenKebabId((prevId) => (prevId === id ? null : id)); setOpenKebabId((prevId) => (prevId === id ? null : id));
}; };

View File

@ -52,7 +52,7 @@ const Project: React.FC = () => {
return ( return (
<div className="project-main"> <div className="project-main">
{loadingProgress && <LoadingPage progress={loadingProgress} />} {/* {loadingProgress && <LoadingPage progress={loadingProgress} />} */}
{!isPlaying && ( {!isPlaying && (
<> <>
<ModuleToggle /> <ModuleToggle />

View File

@ -6,6 +6,9 @@ export const addingFloatingWidgets = async (
organization: string, organization: string,
widget: {} widget: {}
) => { ) => {
console.log('organization: ', organization);
console.log('widget: ', widget);
console.log('zoneId: ', zoneId);
try { try {
const response = await fetch( const response = await fetch(
`${url_Backend_dwinzo}/api/v2/floatwidget/save`, `${url_Backend_dwinzo}/api/v2/floatwidget/save`,

View File

@ -1,5 +1,5 @@
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`; // let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
// let url_Backend_dwinzo = `http://192.168.0.102:5000`; let url_Backend_dwinzo = `http://192.168.0.102:5000`;
export const addingWidgets = async ( export const addingWidgets = async (
zoneId: string, zoneId: string,
organization: string, organization: string,

View File

@ -1,5 +1,5 @@
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`; // let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
// let url_Backend_dwinzo = `http://192.168.0.102:5000`; let url_Backend_dwinzo = `http://192.168.0.102:5000`;
export const getFloatingZoneData = async ( export const getFloatingZoneData = async (
ZoneId?: string, ZoneId?: string,
organization?: string organization?: string

View File

@ -1,5 +1,5 @@
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`; // let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
// let url_Backend_dwinzo = `http://192.168.0.102:5000`; let url_Backend_dwinzo = `http://192.168.0.102:5000`;
export const getZone2dData = async (organization?: string) => { export const getZone2dData = async (organization?: string) => {
try { try {
const response = await fetch( const response = await fetch(

View File

@ -1,5 +1,5 @@
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`; // let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
// let url_Backend_dwinzo = `http://192.168.0.102:5000`; let url_Backend_dwinzo = `http://192.168.0.102:5000`;
type Side = "top" | "bottom" | "left" | "right"; type Side = "top" | "bottom" | "left" | "right";
export const panelData = async ( export const panelData = async (