Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 8fb24d6

Browse files
committed
Pass dialog func props to blank views
1 parent dd04925 commit 8fb24d6

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/views/github-tab-view.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,19 @@ export default class GitHubTabView extends React.Component {
6060

6161
if (this.props.repository.isAbsent()) {
6262
return (
63-
<GitHubBlankNoLocal />
63+
<GitHubBlankNoLocal
64+
openCreateDialog={this.props.openCreateDialog}
65+
openCloneDialog={this.props.openCloneDialog}
66+
/>
6467
);
6568
}
6669

6770
if (this.props.repository.isEmpty()) {
6871
return (
69-
<GitHubBlankUninitialized />
72+
<GitHubBlankUninitialized
73+
openPublishDialog={this.props.openPublishDialog}
74+
openGitTab={this.props.openGitTab}
75+
/>
7076
);
7177
}
7278

@@ -103,7 +109,7 @@ export default class GitHubTabView extends React.Component {
103109
}
104110

105111
return (
106-
<GitHubBlankNoRemote />
112+
<GitHubBlankNoRemote openPublishDialog={this.props.openPublishDialog} />
107113
);
108114
}
109115

0 commit comments

Comments
 (0)