mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
32 gb min
This commit is contained in:
committed by
Aiden McClelland
parent
e1b3db0190
commit
2aa9b35e08
@@ -35,12 +35,12 @@
|
|||||||
</ion-item>
|
</ion-item>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="storageDrives.length">
|
<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-icon slot="start" name="save-outline"></ion-icon>
|
||||||
<ion-label class="ion-text-wrap">
|
<ion-label class="ion-text-wrap">
|
||||||
<h1>{{ drive.vendor || 'Unknown Vendor' }} - {{ drive.model || 'Unknown Model' }}</h1>
|
<h1>{{ drive.vendor || 'Unknown Vendor' }} - {{ drive.model || 'Unknown Model' }}</h1>
|
||||||
<h2>{{ drive.logicalname }} - {{ drive.capacity | convertBytes }}</h2>
|
<h2>{{ drive.logicalname }} - {{ drive.capacity | convertBytes }}</h2>
|
||||||
<p *ngIf="drive.capacity < 100000">
|
<p *ngIf="drive.capacity < 34359738368">
|
||||||
<ion-text>
|
<ion-text>
|
||||||
Drive capacity too small.
|
Drive capacity too small.
|
||||||
</ion-text>
|
</ion-text>
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export class MockApiService extends ApiService {
|
|||||||
model: 'Model',
|
model: 'Model',
|
||||||
logicalname: 'dev/sdb',
|
logicalname: 'dev/sdb',
|
||||||
partitions: [],
|
partitions: [],
|
||||||
capacity: 1600.01234,
|
capacity: 34359738369,
|
||||||
guid: null,
|
guid: null,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user