Skip to content

Commit

Permalink
🐛 Fix dymanic verification while getting restored list
Browse files Browse the repository at this point in the history
  • Loading branch information
andremacedopv committed Jan 20, 2023
1 parent c102bed commit 595ffd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/assetListFuncs.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ func getRestoredList(storedList []AssetType, init bool) []AssetType {
}

if !init {
for _, assetType := range deleteds {
if assetType.Dynamic {
for _, deleted := range deleteds {
if !deleted.Dynamic {
continue
}

assetList = RemoveAssetType(assetType.Tag, assetList)
assetList = RemoveAssetType(deleted.Tag, assetList)
}
}

Expand Down

0 comments on commit 595ffd1

Please sign in to comment.