refactor: unify StartToolModal — remove inline duplicate from workspace detail
- Delete inline hardcoded StartToolModal from workspace-detail.tsx - Import shared StartToolModal that fetches real tool types from API - Pass workspace object to ToolsTab so shared modal gets proper context - onStart handler passes optional configProfileId through to useWorkspaceInstances.create() Quality gates: tsc --noEmit clean
This commit is contained in:
@@ -76,9 +76,7 @@ export function StartToolModal({
|
||||
{status === "loading" && (
|
||||
<span className="muted">Loading tools...</span>
|
||||
)}
|
||||
{loadError && (
|
||||
<span className="error-text">{loadError}</span>
|
||||
)}
|
||||
{loadError && <span className="error-text">{loadError}</span>}
|
||||
</div>
|
||||
<div className="form-group">
|
||||
<label htmlFor="config-profile">Config Profile (optional)</label>
|
||||
|
||||
Reference in New Issue
Block a user