32 gb min

This commit is contained in:
Drew Ansbacher
2021-11-24 12:09:15 -07:00
committed by Aiden McClelland
parent e1b3db0190
commit 2aa9b35e08
2 changed files with 3 additions and 3 deletions

View File

@@ -35,12 +35,12 @@
</ion-item>
</ng-container>
<ng-container *ngIf="storageDrives.length">
<ion-item (click)="chooseDrive(drive)" class="ion-margin-bottom" button lines="none" *ngFor="let drive of storageDrives" [disabled]="drive.capacity < 100000">
<ion-item (click)="chooseDrive(drive)" class="ion-margin-bottom" button lines="none" *ngFor="let drive of storageDrives" [disabled]="drive.capacity < 34359738368">
<ion-icon slot="start" name="save-outline"></ion-icon>
<ion-label class="ion-text-wrap">
<h1>{{ drive.vendor || 'Unknown Vendor' }} - {{ drive.model || 'Unknown Model' }}</h1>
<h2>{{ drive.logicalname }} - {{ drive.capacity | convertBytes }}</h2>
<p *ngIf="drive.capacity < 100000">
<p *ngIf="drive.capacity < 34359738368">
<ion-text>
Drive capacity too small.
</ion-text>

View File

@@ -54,7 +54,7 @@ export class MockApiService extends ApiService {
model: 'Model',
logicalname: 'dev/sdb',
partitions: [],
capacity: 1600.01234,
capacity: 34359738369,
guid: null,
},
{