Skip to content

Commit

Permalink
fix: do not update last used folder when importing bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
teddy-gustiaux committed Mar 23, 2024
1 parent 95fc6a2 commit 09ed406
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scripts/bookmarking/BuiltinBookmarking.js
Expand Up @@ -47,7 +47,7 @@ class BuiltinBookmarking {
}

async #moveBookmarkToDefinedLocation(bookmarkInfo, reason = '') {
const details = reason ? ` (reason: ${reason}` : '';
const details = reason ? ` (reason: ${reason})` : '';
Logger.debug(`Processing this bookmark${details}`, bookmarkInfo);
let bookmarkTreeNode;
if (Utils.bookmarkIsWebPage(bookmarkInfo)) {
Expand Down Expand Up @@ -76,7 +76,6 @@ class BuiltinBookmarking {

async skipBookmark(bookmarkInfo, reason) {
Logger.debug(`Skipping this bookmark (reason: ${reason})`);
await this.#options.updateLastUsedFolder(bookmarkInfo.parentId);
}

async move(id, bookmarkInfo, skipChecks, reason = '') {
Expand Down

0 comments on commit 09ed406

Please sign in to comment.