Browse Source
Merge branch 'Misterbabou-issue-3249'
pull/3277/head
Daniel García
2 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
2 additions and
0 deletions
-
src/db/models/collection.rs
|
|
@ -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) |
|
|
|
} |
|
|
|