h
This commit is contained in:
@@ -899,6 +899,7 @@ export default {
|
|||||||
const isNsfl = cfg.enable_nsfl && tags.some(t => t.id == nsfl_id);
|
const isNsfl = cfg.enable_nsfl && tags.some(t => t.id == nsfl_id);
|
||||||
const isNsfw = tags.some(t => t.id == 2);
|
const isNsfw = tags.some(t => t.id == 2);
|
||||||
const isSfw = tags.some(t => t.id == 1);
|
const isSfw = tags.some(t => t.id == 1);
|
||||||
|
const isTagged = tags.length > 0;
|
||||||
// Guest rating & untagged restriction check for public uploads (visibility === 0)
|
// Guest rating & untagged restriction check for public uploads (visibility === 0)
|
||||||
if (!session && !isOwnerOrAdmin && (actitem.visibility || 0) === 0) {
|
if (!session && !isOwnerOrAdmin && (actitem.visibility || 0) === 0) {
|
||||||
let guestBlocked = false;
|
let guestBlocked = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user