diff options
-rw-r--r-- | src/plugins/viewRaw.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/viewRaw.tsx b/src/plugins/viewRaw.tsx index d9d1a44..6614ea8 100644 --- a/src/plugins/viewRaw.tsx +++ b/src/plugins/viewRaw.tsx @@ -119,6 +119,7 @@ const settings = definePluginSettings({ function MakeContextCallback(name: string) { const callback: NavContextMenuPatchCallback = (children, props) => () => { + if (name === "Guild" && !props.guild) return; const lastChild = children.at(-1); if (lastChild?.key === "developer-actions") { const p = lastChild.props; |