]> cat aescling's git repositories - mastodon.git/commit
Do not cause an error if domain_lists.blocks.next is undefined (#8021)
authorThibG <thib@sitedethib.com>
Sat, 14 Jul 2018 21:28:29 +0000 (23:28 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 14 Jul 2018 21:28:29 +0000 (23:28 +0200)
commitd0d23b8f0aa72946fe0c8d3327ce1d8bbc049d4f
tree13a1769dc9d9efdbd19d11f85544a680ec5d1a8a
parent0eacf2b419fdb7e7abca9f38537a05f7d3b89bf2
Do not cause an error if domain_lists.blocks.next is undefined (#8021)

A valid URL is always truthy, so we can simplify this check
app/javascript/mastodon/actions/domain_blocks.js