mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
get label
This commit is contained in:
committed by
Matt Hill
parent
0269bc177b
commit
bcaa6095bc
@@ -64,7 +64,7 @@ export class EmbassyPage {
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
getLabelLabel(drive: DiskInfo) {
|
||||
getLabel(drive: DiskInfo) {
|
||||
const labels = drive.partitions.map(p => p.label).filter(l => !!l)
|
||||
return labels.length ? labels.join(' / ') : 'unnamed'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user