mirror of
https://github.com/balena-io/etcher.git
synced 2025-11-09 02:18:31 +00:00
Warn when the source drive has no partition table
Changelog-entry: Warn when the source drive has no partition table Change-type: patch
This commit is contained in:
@@ -419,6 +419,15 @@ export class SourceSelector extends React.Component<
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (selected.partitionTableType === null) {
|
||||
analytics.logEvent('Missing partition table', { selected });
|
||||
this.setState({
|
||||
warning: {
|
||||
message: messages.warning.driveMissingPartitionTable(),
|
||||
title: 'Missing partition table',
|
||||
},
|
||||
});
|
||||
}
|
||||
metadata = {
|
||||
path: selected.device,
|
||||
displayName: selected.displayName,
|
||||
|
||||
Reference in New Issue
Block a user