Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: menu items not working

thecodrra763a1187234
diff --git a/apps/web/src/components/menu/index.js b/apps/web/src/components/menu/index.js
index 7fb344488..6569b5d21 100644
--- a/apps/web/src/components/menu/index.js
+++ b/apps/web/src/components/menu/index.js
@@ -42,10 +42,10 @@ function Menu(props) {
props.closeMenu();
}
const onlyPro = item.onlyPro && !isPremium;
- if (onlyPro && item.onClick) {
+ if (onlyPro) {
+ // TODO
+ } else if (item.onClick) {
item.onClick(props.data);
- } else {
- // TODO show the buy dialog
}
}}
flexDirection="row"