浏览代码

Merge branch 'Misterbabou-issue-3249'

Daniel García 2 年之前
父节点
当前提交
e7d36de784
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/db/models/collection.rs

+ 2 - 0
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)
                     }