You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Desktop: Do not expand the leaft notebook when following a link to a note
This commit is contained in:
@ -223,6 +223,8 @@ class Folder extends BaseItem {
|
|||||||
|
|
||||||
static async expandTree(folders, parentId) {
|
static async expandTree(folders, parentId) {
|
||||||
const folderPath = await this.folderPath(folders, parentId);
|
const folderPath = await this.folderPath(folders, parentId);
|
||||||
|
folderPath.pop(); // We don't expand the leaft notebook
|
||||||
|
|
||||||
for (const folder of folderPath) {
|
for (const folder of folderPath) {
|
||||||
this.dispatch({
|
this.dispatch({
|
||||||
type: 'FOLDER_SET_COLLAPSED',
|
type: 'FOLDER_SET_COLLAPSED',
|
||||||
|
Reference in New Issue
Block a user