1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 20:28:09 +00:00

allow forget device event if not remembered

This commit is contained in:
Szymon Lesisz 2018-05-16 15:59:02 +02:00
parent 227431fd3f
commit 0329801f94

View File

@ -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) => {