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 c0ae208 commit 2df5347Copy full SHA for 2df5347
src/popup/addEditInterface.js
@@ -294,7 +294,10 @@ function AddEditInterface(settingsModel) {
294
)[0];
295
const host = new URL(currentTab.url).host;
296
// prefill the host of the current tab
297
- loginObj.login = host;
+ if (settings.origin !== "null") {
298
+ const hostname = new URL(settings.origin).hostname;
299
+ loginObj.login = hostname;
300
+ }
301
}
302
303
// set the storePath and get tree dirs
0 commit comments