allow spaces in names, duplicate tabs opened (#888)

fixes two bugs:
- removing spaces from ids in remix-tabs breaks finding the tab again through this._handlers[name]
- duplicate tabs are re-created twice.
matomo^2
bunsenstraat 4 years ago committed by GitHub
parent e048cc35aa
commit dfa722ec21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/panels/tab-proxy.js

@ -194,7 +194,7 @@ export class TabProxy extends Plugin {
}
this._view.filetabs.addTab({
id: name.split(' ').join(''),
id: name,
title,
icon,
tooltip: name

Loading…
Cancel
Save