Skip to content

Commit

Permalink
Merge pull request #5268 from KKoukiou/webui-step-notification-followup
Browse files Browse the repository at this point in the history
webui: remove step notification from the InstallationMethod component
  • Loading branch information
KKoukiou authored Oct 19, 2023
2 parents cf1c19f + fdef620 commit e653368
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion ui/webui/src/components/AnacondaWizard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ export const AnacondaWizard = ({ dispatch, storageData, localizationData, onCrit
setIsFormValid={setIsFormValid}
onCritFail={onCritFail}
setStepNotification={ex => setStepNotification({ step: s.id, ...ex })}
stepNotification={stepNotification}
isFormDisabled={isFormDisabled}
setIsFormDisabled={setIsFormDisabled}
{...s.data}
Expand Down
8 changes: 0 additions & 8 deletions ui/webui/src/components/storage/InstallationMethod.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import cockpit from "cockpit";
import React from "react";

import {
Alert,
Form,
HelperText,
HelperTextItem,
Expand All @@ -39,7 +38,6 @@ export const InstallationMethod = ({
setIsFormValid,
setIsFormDisabled,
setStorageScenarioId,
stepNotification,
storageScenarioId,
}) => {
return (
Expand All @@ -48,12 +46,6 @@ export const InstallationMethod = ({
id={idPrefix + "-selector-form"}
onSubmit={e => { e.preventDefault(); return false }}
>
{stepNotification?.step === "installation-method" &&
<Alert
isInline
title={stepNotification.message}
variant="danger"
/>}
<InstallationDestination
deviceData={deviceData}
diskSelection={diskSelection}
Expand Down

0 comments on commit e653368

Please sign in to comment.