From b404e354a93ba0f53bada112ba00ef1a5d4f91b3 Mon Sep 17 00:00:00 2001 From: cgombauld Date: Fri, 24 Oct 2025 12:32:57 +0200 Subject: [PATCH] fix(locker): unlock when clicking on an unlocked package --- public/components/locker/locker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/components/locker/locker.js b/public/components/locker/locker.js index 77ea25c2..55a8a327 100644 --- a/public/components/locker/locker.js +++ b/public/components/locker/locker.js @@ -166,7 +166,7 @@ export class Locker extends LitElement { this[this.locked ? "unlock" : "lock"](); } - highlightDone() { + highlightDone = () => { if (!this.unlockAuthorized) { return; } @@ -178,7 +178,7 @@ export class Locker extends LitElement { }, 1); this.unlock(); - } + }; lock() { if (!this.locked) {