fix deleting empty row

This commit is contained in:
Brian Hung
2025-07-22 19:01:45 -07:00
committed by Nicolás Hatcher Andrés
parent fe87dc49b4
commit b07603b728
2 changed files with 74 additions and 2 deletions

View File

@@ -933,7 +933,7 @@ impl UserModel {
}
let data = match worksheet.sheet_data.get(&r) {
Some(s) => s.clone(),
None => return Err(format!("Row number '{r}' is not valid.")),
None => HashMap::new(),
};
diff_list.push(Diff::DeleteRow {
sheet,