allow forget device event if not remembered

pull/2/merge
Szymon Lesisz 6 years ago
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…
Cancel
Save