mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-21 10:20:05 +00:00
fix error when delete an item with sync
This commit is contained in:
parent
58215d4e01
commit
ffedd5b88b
1 changed files with 2 additions and 0 deletions
|
@ -319,6 +319,8 @@ class MPW
|
||||||
|
|
||||||
if not remote.to_s.empty?
|
if not remote.to_s.empty?
|
||||||
@data.each do |item|
|
@data.each do |item|
|
||||||
|
next if item.empty?
|
||||||
|
|
||||||
update = false
|
update = false
|
||||||
|
|
||||||
remote.list.each do |r|
|
remote.list.each do |r|
|
||||||
|
|
Loading…
Add table
Reference in a new issue