forked from 0x2620/pandora
featured edits should work too
This commit is contained in:
parent
4794c0f68a
commit
f9edbbe1c6
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ async function loadEdit(id, args) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
data.edit = response['data']
|
data.edit = response['data']
|
||||||
if (data.edit.status !== 'public') {
|
if (['public', 'featured'].indexOf(data.edit) == -1) {
|
||||||
return {
|
return {
|
||||||
site: data.site,
|
site: data.site,
|
||||||
error: {
|
error: {
|
||||||
|
|
Loading…
Reference in a new issue