mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
32 gb min
This commit is contained in:
committed by
Aiden McClelland
parent
e1b3db0190
commit
2aa9b35e08
@@ -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>
|
||||
|
||||
@@ -54,7 +54,7 @@ export class MockApiService extends ApiService {
|
||||
model: 'Model',
|
||||
logicalname: 'dev/sdb',
|
||||
partitions: [],
|
||||
capacity: 1600.01234,
|
||||
capacity: 34359738369,
|
||||
guid: null,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user