Skip to content

Commit

Permalink
merge: #3959
Browse files Browse the repository at this point in the history
3959: Fix: check to_delete for component change status r=jobelenus a=jobelenus

<img src="https://media1.giphy.com/media/xULW8N9O5WD32L5052/giphy.gif"/>

Co-authored-by: John Obelenus <[email protected]>
  • Loading branch information
si-bors-ng[bot] and jobelenus authored Jun 7, 2024
2 parents 02e7222 + e360905 commit a2fd1fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dal/src/diagram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ impl Diagram {
for component in &components {
let component_change_status = if new_component_ids.contains(&component.id()) {
ChangeStatus::Added
} else if component.to_delete() {
ChangeStatus::Deleted
} else {
// TODO: Eventually, we'll want to also handle detecting ChangeStatus::Modified
ChangeStatus::Unmodified
Expand Down

0 comments on commit a2fd1fc

Please sign in to comment.