Do not cause an error if domain_lists.blocks.next is undefined (fixes #572)
Port 3aaa8f1a95
to glitch-soc
lolsob-rspec
parent
7cc4e6b2b2
commit
a69426ba4e
|
@ -128,7 +128,7 @@ export function expandDomainBlocks() {
|
|||
return (dispatch, getState) => {
|
||||
const url = getState().getIn(['domain_lists', 'blocks', 'next']);
|
||||
|
||||
if (url === null) {
|
||||
if (!url) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue