Skip to content

Commit

Permalink
Merge branch 'Misterbabou-issue-3249'
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Feb 21, 2023
2 parents 0af1ef3 + 54cc47b commit e7d36de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/db/models/collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ impl Collection {
Some(_) => {
if let Some(uc) = cipher_sync_data.user_collections.get(&self.uuid) {
(uc.read_only, uc.hide_passwords)
} else if let Some(cg) = cipher_sync_data.user_collections_groups.get(&self.uuid) {
(cg.read_only, cg.hide_passwords)
} else {
(false, false)
}
Expand Down

0 comments on commit e7d36de

Please sign in to comment.