From d869be6bc9cbb097d7e3ccda52baad2583932248 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 27 Dec 2017 10:13:05 +0000 Subject: [PATCH] Revert "Only mark journals that have been shared with us as unsupported." This is not needed, because key is set only if we have a key set for us which means it was either shared with us, or we have a reason to have a key (maybe changed the password). (Kept the fixme that was added in that commit) This reverts commit 3408e16013ed331826dfc3ef7da0767041f7443d. --- src/SideMenu/SideMenuJournals.tsx | 2 +- src/SyncGate.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SideMenu/SideMenuJournals.tsx b/src/SideMenu/SideMenuJournals.tsx index 2b50956..0a34431 100644 --- a/src/SideMenu/SideMenuJournals.tsx +++ b/src/SideMenu/SideMenuJournals.tsx @@ -22,7 +22,7 @@ class SideMenuJournals extends React.PureComponent { const journalMap = this.props.journals.reduce( (ret, journal) => { // FIXME: Skip shared journals for now - if (journal.key && (journal.owner !== this.props.etesync.credentials.email)) { + if (journal.key) { const key = 'UNSUPPORTED'; ret[key] = ret[key] || []; ret[key].push( diff --git a/src/SyncGate.tsx b/src/SyncGate.tsx index 32ec5df..c9fffce 100644 --- a/src/SyncGate.tsx +++ b/src/SyncGate.tsx @@ -53,7 +53,7 @@ const syncInfoSelector = createSelector( } // FIXME: Skip shared journals for now - if (journal.key && (journal.owner !== etesync.credentials.email)) { + if (journal.key) { return ret; }