mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
only show attach prompt if product key present (#1263)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user