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