Skip to content

Commit d9ecc61

Browse files
committed
cp dines
1 parent a2d7ede commit d9ecc61

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/components/NetworkPolicyCreatePage.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,7 @@ export const NetworkPolicyCreatePage = ({
251251
}
252252

253253
params.allow_all = formData.allow_all === "Yes";
254-
params.allow_devbox_to_devbox =
255-
formData.allow_devbox_to_devbox === "Yes";
254+
params.allow_devbox_to_devbox = formData.allow_devbox_to_devbox === "Yes";
256255

257256
// For allowed_hostnames, always send the current list
258257
// (empty array means no hostnames allowed)
@@ -276,9 +275,7 @@ export const NetworkPolicyCreatePage = ({
276275
}
277276
};
278277

279-
const breadcrumbLabel = isEditMode
280-
? initialPolicy?.name || "Edit"
281-
: "Create";
278+
const breadcrumbLabel = isEditMode ? initialPolicy?.name || "Edit" : "Create";
282279
const actionLabel = isEditMode ? "Edit" : "Create";
283280

284281
// Result screen

0 commit comments

Comments
 (0)