only show attach prompt if product key present (#1263)

This commit is contained in:
Matt Hill
2022-02-23 18:31:12 -07:00
committed by GitHub
parent 7678cee5be
commit 563172688c

View File

@@ -91,7 +91,11 @@ export class RecoverPage {
}
const importableDrive = disks.find(d => !!d.guid)
if (!!importableDrive && !this.hasShownGuidAlert) {
if (
!!importableDrive &&
this.stateService.hasProductKey &&
!this.hasShownGuidAlert
) {
const alert = await this.alertCtrl.create({
header: 'Embassy Data Drive Detected',
message: new IonicSafeString(