Don't require an app in Flipper specific support questions
Summary: Changelog: Submitting a bug report to Flipper itself no longer requires to have an app connected Reviewed By: jknoxville Differential Revision: D26046284 fbshipit-source-id: d86ba7668c4187629752a9c27d63209af61bda13
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e5232da402
commit
d77940a839
@@ -99,14 +99,16 @@ export class Group {
|
|||||||
|
|
||||||
// OS validation
|
// OS validation
|
||||||
let osError: string | null = null;
|
let osError: string | null = null;
|
||||||
if (!selectedOS) {
|
if (this.name !== 'Flipper') {
|
||||||
osError = 'Please select an app from the drop down.';
|
if (!selectedOS) {
|
||||||
} else if (!this.supportedOS.includes(selectedOS)) {
|
osError = 'Please select an app from the drop down.';
|
||||||
osError = `The group ${
|
} else if (!this.supportedOS.includes(selectedOS)) {
|
||||||
this.name
|
osError = `The group ${
|
||||||
} supports exports from ${this.supportedOS.join(
|
this.name
|
||||||
', ',
|
} supports exports from ${this.supportedOS.join(
|
||||||
)}. But your selected device's OS is ${selectedOS}, which is unsupported.`;
|
', ',
|
||||||
|
)}. But your selected device's OS is ${selectedOS}, which is unsupported.`;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return {plugins: str, os: osError};
|
return {plugins: str, os: osError};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user