ReviewDB: Fix context menus being added to folders (#2416)
This commit is contained in:
parent
bc68bc0312
commit
b98544ed1f
|
@ -36,6 +36,7 @@ import { settings } from "./settings";
|
|||
import { showToast } from "./utils";
|
||||
|
||||
const guildPopoutPatch: NavContextMenuPatchCallback = (children, { guild }: { guild: Guild, onClose(): void; }) => {
|
||||
if (!guild) return;
|
||||
children.push(
|
||||
<Menu.MenuItem
|
||||
label="View Reviews"
|
||||
|
|
Loading…
Reference in a new issue