mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 19:26:33 +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;
|
metadata.SourceType = SourceType;
|
||||||
|
|
||||||
if (!metadata.hasMBR) {
|
if (!metadata.hasMBR && this.state.warning === null) {
|
||||||
analytics.logEvent('Missing partition table', { metadata });
|
analytics.logEvent('Missing partition table', { metadata });
|
||||||
this.setState({
|
this.setState({
|
||||||
warning: {
|
warning: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user