mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 19:41:05 +08:00
This commit is contained in:
parent
8653f7ee61
commit
d9a4e43979
@ -196,7 +196,7 @@ export const openFile = async (options: IOpenFileOptions) => {
|
|||||||
|
|
||||||
/// #if !BROWSER
|
/// #if !BROWSER
|
||||||
// https://github.com/siyuan-note/siyuan/issues/7491
|
// https://github.com/siyuan-note/siyuan/issues/7491
|
||||||
if (!options.position) {
|
if (!options.position || (options.position === "right" && options.assetPath)) {
|
||||||
let hasMatch = false;
|
let hasMatch = false;
|
||||||
const optionsClone: IObject = {};
|
const optionsClone: IObject = {};
|
||||||
Object.keys(options).forEach((key: keyof IOpenFileOptions) => {
|
Object.keys(options).forEach((key: keyof IOpenFileOptions) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user