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: display the correct variable reference count when deleting a variable. #8549

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

gonfunko
Copy link
Contributor

The basics

The details

When deleting a variable with one or more references in the workspace from the dropdown/contextual menu of the variable blocks in a non-autoclosing flyout, the number of references in the prompt confirming the deletion was off by one. This PR fixes this by not including the block triggering the deletion (in the flyout) in the reference count.

@gonfunko gonfunko requested a review from a team as a code owner August 21, 2024 20:29
@gonfunko gonfunko requested a review from BeksOmega August 21, 2024 20:29
@github-actions github-actions bot added the PR: fix Fixes a bug label Aug 21, 2024
@gonfunko gonfunko merged commit ba07623 into google:rc/v12.0.0 Aug 21, 2024
11 checks passed
@gonfunko gonfunko deleted the var-count branch August 21, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants