Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/pages/storage/CustomVolumeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const CustomVolumeModal: FC<Props> = ({
const instanceLocation = getInstanceLocation(formik);

const handleCreateVolume = (volume: LxdStorageVolume) => {
setContent(SELECT_VOLUME);
setPrimaryVolume(volume);
onFinish(volume);
};

const handleGoBack = () => {
Expand Down
1 change: 0 additions & 1 deletion tests/helpers/devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const attachVolume = async (
await page.getByRole("button", { name: "Create volume" }).click();
await page.getByPlaceholder("Enter name").fill(volume);
await page.getByRole("button", { name: "Create volume" }).click();
await page.getByTitle(`Select ${volume}`, { exact: true }).click();
await page.getByPlaceholder("Enter full path (e.g. /data)").last().fill(path);
};

Expand Down
Loading