mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
Restore windows images warning
Change-type: patch Changelog-entry: Windows images now show the proper warning again Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
This commit is contained in:
parent
396a053c0a
commit
a7ca2e527b
@ -420,7 +420,7 @@ export class SourceSelector extends React.Component<
|
||||
}
|
||||
metadata.SourceType = SourceType;
|
||||
|
||||
if (!metadata.hasMBR) {
|
||||
if (!metadata.hasMBR && this.state.warning === null) {
|
||||
analytics.logEvent('Missing partition table', { metadata });
|
||||
this.setState({
|
||||
warning: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user