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 3408e16013.
master
Tom Hacohen 7 years ago
parent 52f7d4ddd5
commit d869be6bc9

@ -22,7 +22,7 @@ class SideMenuJournals extends React.PureComponent {
const journalMap = this.props.journals.reduce( const journalMap = this.props.journals.reduce(
(ret, journal) => { (ret, journal) => {
// FIXME: Skip shared journals for now // FIXME: Skip shared journals for now
if (journal.key && (journal.owner !== this.props.etesync.credentials.email)) { if (journal.key) {
const key = 'UNSUPPORTED'; const key = 'UNSUPPORTED';
ret[key] = ret[key] || []; ret[key] = ret[key] || [];
ret[key].push( ret[key].push(

@ -53,7 +53,7 @@ const syncInfoSelector = createSelector(
} }
// FIXME: Skip shared journals for now // FIXME: Skip shared journals for now
if (journal.key && (journal.owner !== etesync.credentials.email)) { if (journal.key) {
return ret; return ret;
} }

Loading…
Cancel
Save