diff --git a/src/components/views/dialogs/BugReportDialog.tsx b/src/components/views/dialogs/BugReportDialog.tsx index 1125a7d33c..8324a15214 100644 --- a/src/components/views/dialogs/BugReportDialog.tsx +++ b/src/components/views/dialogs/BugReportDialog.tsx @@ -96,7 +96,7 @@ export default class BugReportDialog extends React.Component { userText, sendLogs: true, progressCallback: this.sendProgressCallback, - labels: [this.props.label], + labels: this.props.label ? [this.props.label] : [], }).then(() => { if (!this.unmounted) { this.props.onFinished(false); @@ -128,7 +128,7 @@ export default class BugReportDialog extends React.Component { await downloadBugReport({ sendLogs: true, progressCallback: this.downloadProgressCallback, - labels: [this.props.label], + labels: this.props.label ? [this.props.label] : [], }); this.setState({