Formatting
This commit is contained in:
parent
c9b68f6f7a
commit
3b147c879d
4 changed files with 72 additions and 86 deletions
|
|
@ -134,7 +134,8 @@ export default function App() {
|
||||||
</div>
|
</div>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
<div></div>
|
<div></div>
|
||||||
<div className="flex flex-col-reverse fixed bottom-5 left-5"
|
<div
|
||||||
|
className="flex flex-col-reverse fixed bottom-5 left-5"
|
||||||
style={{ zIndex: 999 }}
|
style={{ zIndex: 999 }}
|
||||||
>
|
>
|
||||||
{alertsList.map((alert) => (
|
{alertsList.map((alert) => (
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,6 @@ export default function GenericNode({
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
||||||
<>
|
<>
|
||||||
<NodeToolbar>
|
<NodeToolbar>
|
||||||
<NodeToolbarComponent
|
<NodeToolbarComponent
|
||||||
|
|
@ -139,8 +138,7 @@ export default function GenericNode({
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
openPopUp(<NodeModal data={data} />);
|
openPopUp(<NodeModal data={data} />);
|
||||||
}}
|
}}
|
||||||
>
|
></button>
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-3">
|
<div className="flex gap-3">
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
|
|
@ -116,18 +116,6 @@
|
||||||
-radius: 0.5rem;
|
-radius: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@layer base {
|
|
||||||
* {
|
|
||||||
@apply border-border;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
@apply bg-background text-foreground;
|
|
||||||
font-feature-settings: "rlig" 1, "calt" 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
* {
|
* {
|
||||||
@apply border-border;
|
@apply border-border;
|
||||||
|
|
@ -142,11 +130,7 @@
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
|
||||||
"Ubuntu",
|
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
|
||||||
"Cantarell",
|
|
||||||
"Fira Sans",
|
|
||||||
"Droid Sans",
|
|
||||||
"Helvetica Neue",
|
|
||||||
sans-serif;
|
sans-serif;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
|
||||||
|
|
@ -535,9 +535,12 @@ export function updateTemplate(
|
||||||
if (objectToUpdate[key] && objectToUpdate[key].value) {
|
if (objectToUpdate[key] && objectToUpdate[key].value) {
|
||||||
clonedObject[key].value = objectToUpdate[key].value;
|
clonedObject[key].value = objectToUpdate[key].value;
|
||||||
}
|
}
|
||||||
if(objectToUpdate[key] && objectToUpdate[key].advanced!==null && objectToUpdate[key].advanced!==undefined){
|
if (
|
||||||
|
objectToUpdate[key] &&
|
||||||
|
objectToUpdate[key].advanced !== null &&
|
||||||
|
objectToUpdate[key].advanced !== undefined
|
||||||
|
) {
|
||||||
clonedObject[key].advanced = objectToUpdate[key].advanced;
|
clonedObject[key].advanced = objectToUpdate[key].advanced;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return clonedObject;
|
return clonedObject;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue