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