featured edits should work too

This commit is contained in:
j 2023-11-23 11:38:33 +00:00
parent 4794c0f68a
commit f9edbbe1c6

View file

@ -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: {