added zones drop down in builder ouline and adjust width of displayZones

This commit is contained in:
Nalvazhuthi
2025-04-03 18:02:28 +05:30
parent 1dc04d19bb
commit 70807d4ec4
17 changed files with 545 additions and 195 deletions

View File

@@ -1,7 +1,7 @@
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
// let url_Backend_dwinzo = `http://192.168.0.102:5000`;
export const saveTemplateApi = async (organization: string, template: {}) => {
console.log('template: ', template);
console.log('template: ', template);
try {
const response = await fetch(`${url_Backend_dwinzo}/api/v2/template/save`, {
method: "POST",
@@ -16,7 +16,7 @@ export const saveTemplateApi = async (organization: string, template: {}) => {
}
const result = await response.json();
console.log('result: ', result);
return result;
} catch (error) {
if (error instanceof Error) {