case 'tag':
            if (!ev.resource || !ev.resource.slug) {
                return null;
            }