Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/bot #220

Merged
merged 4 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export default function FleetMoneyActionButtons({
}: {
fleet: RetrievedFleet
}): JSX.Element {
console.log('fleet::', fleet)
return (
<>
{fleet.testing && (
Expand Down
5 changes: 3 additions & 2 deletions desktop-app/renderer/pages/fleets/createFleetDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ export default function CreateFleetDialog({

const defaultValues = {
name: 'Fleet Name',
space: Object.keys(napseSpacePossibilitiesSelection)[0]
space: searchParams.get('space') as string
// space: Object.keys(napseSpacePossibilitiesSelection)[0]
}

const form = useForm<z.infer<typeof FleetSchema>>({
Expand Down Expand Up @@ -119,7 +120,7 @@ export default function CreateFleetDialog({
space: values.space,
clusters: Clusters
}
console.log('fleetData::', fleetData)
console.log('fleetData::', values.space)

const response = await createFleet(searchParams, fleetData)
setFleets([...fleets, response.data])
Expand Down