Changeset f46bf5c for pages/forge
- Timestamp:
- 12/29/25 03:57:17 (6 months ago)
- Branches:
- main
- Children:
- 958bc89
- Parents:
- dda6f51 (diff), b6e1b3c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
pages/forge/+Page.tsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pages/forge/+Page.tsx
rdda6f51 rf46bf5c 131 131 let id = buildId; 132 132 if (!id) { 133 const result = await onAddNewBuild({name: "Draft Build", description: "Work in progress"}); 133 const result = await onAddNewBuild({ 134 name: buildName.trim() || "New Build", 135 description: description || "Work in progress" 136 }); 134 137 id = typeof result === 'number' ? result : (result as any)?.buildId; 135 138 if (!id || !Number.isInteger(id) || id <= 0) { … … 150 153 await onAddComponentToBuild({buildId: id, componentId: component.id}); 151 154 } catch (e) { 152 // console.error("Failed to add component to server build", e);153 155 alert("Failed to add component. Please try again."); 154 156 } finally { … … 156 158 } 157 159 }; 160 158 161 159 162 const handleRemovePart = async (slotId: string) => {
Note:
See TracChangeset
for help on using the changeset viewer.
