fixing open in vs code issue (#160)
This commit is contained in:
Родитель
42a71d4592
Коммит
d2e7ed4d2a
|
@ -79,7 +79,7 @@ class ActionBar extends Component {
|
|||
</div>
|
||||
<div className="action-item">
|
||||
<FabricLink
|
||||
href={this.getOpenInVSCodeLink()}
|
||||
href={this.getOpenInVSCodeLink(repository)}
|
||||
disabled={!repository}
|
||||
onClick={this.openInVSCodeClick}
|
||||
>
|
||||
|
|
|
@ -97,7 +97,8 @@ class MetricBar extends Component {
|
|||
<div className="metrics">
|
||||
<div>
|
||||
<span>
|
||||
By: {author} | {downloads} downloads | Created on:{" "}
|
||||
By: {author} | {downloads}{" "}
|
||||
{downloads > 1 ? "downloads" : "download"} | Created on:{" "}
|
||||
{createdonLocaleDate} |
|
||||
</span>
|
||||
</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче