This commit is contained in:
Firepup650 2025-04-19 22:38:52 +00:00 committed by GitHub
commit 60041ebf26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ function initialize(api) {
}
api.addPostSmallActionClassesCallback((post) => {
if (post.actionCode.includes("assigned") && !siteSettings.assigns_public) {
if (!!post.actionCode && post.actionCode.includes("assigned") && !siteSettings.assigns_public) {
return ["private-assign"];
}
});