mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
allow forget device event if not remembered
This commit is contained in:
parent
227431fd3f
commit
0329801f94
@ -158,9 +158,9 @@ export class DeviceDropdown extends Component<Props> {
|
|||||||
if (selected.features && selected.features.passphrase_protection && selected.connected && selected.available) {
|
if (selected.features && selected.features.passphrase_protection && selected.connected && selected.available) {
|
||||||
deviceMenuItems.push({ type: "clone", label: "Clone device" });
|
deviceMenuItems.push({ type: "clone", label: "Clone device" });
|
||||||
}
|
}
|
||||||
if (selected.remember) {
|
//if (selected.remember) {
|
||||||
deviceMenuItems.push({ type: "forget", label: "Forget device" });
|
deviceMenuItems.push({ type: "forget", label: "Forget device" });
|
||||||
}
|
//}
|
||||||
|
|
||||||
|
|
||||||
const deviceMenuButtons = deviceMenuItems.map((item, index) => {
|
const deviceMenuButtons = deviceMenuItems.map((item, index) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user