Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32212999
D13531.1765145478.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
631 B
Referenced Files
None
Subscribers
None
D13531.1765145478.diff
View Options
diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js
--- a/lib/shared/thread-utils.js
+++ b/lib/shared/thread-utils.js
@@ -82,6 +82,7 @@
threadTypeIsSidebar,
threadTypeIsPrivate,
threadTypeIsPersonal,
+ type ThinThreadType,
} from '../types/thread-types-enum.js';
import type {
LegacyRawThreadInfo,
@@ -1335,7 +1336,7 @@
type ThreadTypeParentRequirement = 'optional' | 'required' | 'disabled';
function getThreadTypeParentRequirement(
- threadType: ThreadType,
+ threadType: ThinThreadType,
): ThreadTypeParentRequirement {
if (
threadType === threadTypes.COMMUNITY_OPEN_SUBTHREAD ||
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 7, 10:11 PM (3 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5846176
Default Alt Text
D13531.1765145478.diff (631 B)
Attached To
Mode
D13531: [lib] Narrow getThreadTypeParentRequirement param to ThinThreadType
Attached
Detach File
Event Timeline
Log In to Comment