chore(layout/note_actions): address requested changes

This commit is contained in:
Elian Doran
2025-12-15 10:41:58 +02:00
parent adae7fa03b
commit 065e97c940
2 changed files with 2 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import { BacklinkCountResponse, BacklinksResponse, SaveSqlConsoleResponse } from "@triliumnext/commons";
import { TargetedMouseEvent, VNode } from "preact";
import { VNode } from "preact";
import { useCallback, useEffect, useLayoutEffect, useRef, useState } from "preact/hooks";
import appContext, { EventData, EventNames } from "../components/app_context";

View File

@@ -225,9 +225,7 @@ export function FormDropdownSubmenu({ icon, title, children, dropStart, onDropdo
if (isMobile()) {
setOpenOnMobile(!openOnMobile);
}
if (onDropdownToggleClicked) {
} else if (onDropdownToggleClicked) {
onDropdownToggleClicked();
}
}}