1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure RED.clipboard.import displays the right library

Fixes #3021
This commit is contained in:
Nick O'Leary 2021-06-16 13:41:58 +01:00
parent b73efe6bb4
commit 85dafc0b3c
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -452,7 +452,7 @@ RED.clipboard = (function() {
var libraries = RED.settings.libraries || []; var libraries = RED.settings.libraries || [];
libraries.forEach(function(lib) { libraries.forEach(function(lib) {
var tabId = "red-ui-clipboard-dialog-import-tab-library-"+lib.id var tabId = "red-ui-clipboard-dialog-import-tab-"+lib.id
tabs.addTab({ tabs.addTab({
id: tabId, id: tabId,
label: RED._(lib.label||lib.id) label: RED._(lib.label||lib.id)