Skip to content

Commit

Permalink
Fix: check to_delete for component change status
Browse files Browse the repository at this point in the history
  • Loading branch information
jobelenus committed Jun 7, 2024
1 parent 02e7222 commit e360905
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 e360905

Please sign in to comment.