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

Do not permit clicking 'Modify storage' button when installation has been started #497

Merged

Conversation

KKoukiou
Copy link
Contributor

@KKoukiou KKoukiou commented Nov 1, 2024

No description provided.

@KKoukiou KKoukiou force-pushed the storage-disabled-when-installing branch 3 times, most recently from e158f37 to e2dde09 Compare November 4, 2024 10:06

useEffect(() => {
if (path.length === 0 || path[0] !== currentStepId) {
setCurrentStepId(path[0]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is expected that in case of empty path currentStepId is set to undefined I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works yes, but I realize,maybe it would be cleaner to just omit it though. In that case path[0] !== currentStepId would also work, if path[0] is undefined.

Copy link
Contributor

@rvykydal rvykydal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@KKoukiou KKoukiou force-pushed the storage-disabled-when-installing branch from e2dde09 to 9a6a09b Compare November 8, 2024 11:45
@KKoukiou KKoukiou merged commit a686f00 into rhinstaller:main Nov 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants