Browse Source

Do not cause an error if domain_lists.blocks.next is undefined (fixes #572)

Port d0d23b8f0a to glitch-soc
closed-social-glitch-2
Thibaut Girka 5 years ago
committed by ThibG
parent
commit
1fb78602c5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/actions/domain_blocks.js

+ 1
- 1
app/javascript/flavours/glitch/actions/domain_blocks.js View File

@ -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…
Cancel
Save