display source errors in card

This commit is contained in:
Lachlan Kermode
2018-12-11 11:24:53 +00:00
parent bf0c78d0a0
commit ab20d962ad
6 changed files with 38 additions and 17 deletions

View File

@@ -118,7 +118,6 @@ export function updateDomain(domain) {
export function fetchSelected(selected) {
if (!selected || !selected.length || selected.length === 0) {
console.log('hitting base')
return updateSelected([])
}
return dispatch => {
@@ -127,6 +126,7 @@ export function fetchSelected(selected) {
dispatch(fetchSourceError('No source extension specified.'))
} else {
dispatch(toggleFetchingSources())
// TODO: fetching logic
}
}