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

Fix: add if check to remove left project buttons when projects.isEmpty() #18465

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

devldm
Copy link
Contributor

@devldm devldm commented Nov 12, 2024

What does this PR do?

This PR aims to fix a bug with projects not been removed from the UI when they are deleted (when just 1 project is left)

Old behaviour

This bug is is described here but essentially if only 1 project was left and the user deleted it. It

  1. Was removed from the users files
  2. but remained visible in the UI until the project manager was restarted or refreshed

New behaviour

Now if just 1 project remains and the user deletes it, it is removed from the UI as expected.

Screencast.from.2024-11-13.10-47-14.mp4

How was this PR tested?

Tested locally (manually) in a profile build
OS: Debian 12 (bookworm)

@byrcolin byrcolin added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Nov 12, 2024
@devldm devldm marked this pull request as ready for review November 13, 2024 13:57
@devldm devldm requested review from a team as code owners November 13, 2024 13:57
Copy link
Contributor

@spham-amzn spham-amzn left a comment

Choose a reason for hiding this comment

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

Excellent!

@spham-amzn spham-amzn added sig/content Categorizes an issue or PR as relevant to SIG Content. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Nov 21, 2024
@lsemp3d lsemp3d merged commit 9479b96 into o3de:development Dec 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/content Categorizes an issue or PR as relevant to SIG Content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants