mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-02 20:21:19 +02:00
fix: remove btn in tab menu fixed
This commit is contained in:
@@ -43,7 +43,7 @@ const menuItems = (note, index, context) => [
|
||||
}
|
||||
},
|
||||
{
|
||||
invisible: !context,
|
||||
invisible: context ? (context.type === "topic" ? false : true) : true,
|
||||
title: "Remove",
|
||||
onClick: async () => {
|
||||
confirm(
|
||||
|
||||
@@ -11,6 +11,7 @@ const SESSION_STATES = {
|
||||
};
|
||||
|
||||
const DEFAULT_SESSION = {
|
||||
notebook: undefined,
|
||||
state: "",
|
||||
isSaving: false,
|
||||
title: "",
|
||||
|
||||
Reference in New Issue
Block a user