We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbd02de commit a912ffcCopy full SHA for a912ffc
app/src/ui/multi-commit-operation/dialog/conflicts-dialog.tsx
@@ -188,6 +188,14 @@ export class ConflictsDialog extends React.Component<
188
)
189
}
190
191
+ /**
192
+ * Renders the banner based on count of resolved files.
193
+ *
194
+ * If the count of resolved files is null, then the banner is
195
+ * not rendered as no conflicts have been resolved, yet. If the count of resolved
196
+ * files is 0, then there have been conflicts resolved, but they have been
197
+ * undone, we show an undone banner.
198
+ */
199
public renderBanner(conflictedFilesCount: number) {
200
const { countResolved } = this.state
201
if (countResolved === null) {
0 commit comments