From 815134217b4988fb981268f0e4dfc7ab22e486a4 Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 24 Jun 2024 21:46:05 +0000 Subject: [PATCH] Fixed upload auto-insert not working. --- src/mami.js/sidebar/pan-uploads.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mami.js/sidebar/pan-uploads.jsx b/src/mami.js/sidebar/pan-uploads.jsx index a62b608..e61114d 100644 --- a/src/mami.js/sidebar/pan-uploads.jsx +++ b/src/mami.js/sidebar/pan-uploads.jsx @@ -101,7 +101,7 @@ const MamiSidebarPanelUploadsEntry = function(fileInfo) { options.delete(name); }, clickOption: name => { - const info = options.get(name); + const info = options.get(name) ?? options.get(`:${name}`); if(info === undefined) return;