We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75a9574 commit de6ee39Copy full SHA for de6ee39
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -1219,7 +1219,9 @@ function RemoteFunctions(config) {
1219
// data-action is to differentiate between the buttons (duplicate, delete or select-parent)
1220
const action = event.currentTarget.getAttribute('data-action');
1221
handleOptionClick(event, action, this.element);
1222
- this.remove();
+ if (action !== 'duplicate') {
1223
+ this.remove();
1224
+ }
1225
});
1226
1227
0 commit comments