New option for control over update downloads

This commit is contained in:
Josh Perez
2021-08-19 18:56:29 -04:00
committed by GitHub
parent 80c1ad6ee3
commit e9308bbafb
49 changed files with 1230 additions and 803 deletions

View File

@@ -25,6 +25,7 @@ import { getMe, getSelectedConversation } from '../selectors/conversations';
const mapStateToProps = (state: StateType) => {
return {
disabled: state.network.challengeStatus !== 'idle',
hasPendingUpdate: Boolean(state.updates.didSnooze),
searchTerm: getQuery(state),
searchConversationId: getSearchConversationId(state),
searchConversationName: getSearchConversationName(state),