-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: mf-4979 setting jump link #10427
Conversation
browser.tabs.create({ | ||
active: true, | ||
url: browser.runtime.getURL(`/dashboard.html#${DashboardRoutes.Settings}`), | ||
}) | ||
if (navigator.userAgent.includes('Firefox')) { | ||
window.close() | ||
} | ||
Services.Helper.removePopupWindow() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
browser.tabs.create({ | |
active: true, | |
url: browser.runtime.getURL(`/dashboard.html#${DashboardRoutes.Settings}`), | |
}) | |
if (navigator.userAgent.includes('Firefox')) { | |
window.close() | |
} | |
Services.Helper.removePopupWindow() | |
await browser.tabs.create({ | |
active: true, | |
url: browser.runtime.getURL(`/dashboard.html#${DashboardRoutes.Settings}`), | |
}) | |
if (navigator.userAgent.includes('Firefox')) { | |
window.close() | |
} | |
await Services.Helper.removePopupWindow() |
} else if (b.createdAt.getTime() - a.createdAt.getTime() > 10000) { | ||
return 1 | ||
} | ||
const numA = a.name.split('Wallet ')[1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A wallet's name could be altered by the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sorting only targets our default generate name.
Description
https://mask.atlassian.net/browse/MF-4979
https://mask.atlassian.net/browse/MF-4916
https://mask.atlassian.net/browse/MF-4978
https://mask.atlassian.net/browse/MF-4984
Closes # (NO_ISSUE)
Type of change
Previews
Checklist
console.log
sIf this PR depends on external APIs:
chrome-extension://[id]
moz-extension://[id]