Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
abunchtell
/
mastodon
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Attività
Sfoglia il codice sorgente
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
master
ThibG
5 anni fa
committed by
Eugen Rochko
parent
0eacf2b419
commit
d0d23b8f0a
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-1
app/javascript/mastodon/actions/domain_blocks.js
+ 1
- 1
app/javascript/mastodon/actions/domain_blocks.js
Vedi File
@@ -128,7 +128,7 @@ export function expandDomainBlocks() {
return (dispatch, getState) => {
const url = getState().getIn(['domain_lists', 'blocks', 'next']);
if (ur
l === nul
l) {
if (
!
url) {
return;
}
Scrivi
Anteprima
Caricamento…
Annulla
Salva