Skip to content

Commit de728e9

Browse files
committed
Fixes broken buttons on Home
1 parent e7ebfbf commit de728e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/webviews/apps/home/home.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ <h1 class="alert__title">No repository detected</h1>
105105
To use GitLens, open a folder containing a git repository or clone from a URL from the Explorer.
106106
</p>
107107
<p class="centered">
108-
<gl-button class="is-basic" data-action="command:workbench.view.explorer"
108+
<gl-button class="is-basic" href="command:workbench.view.explorer"
109109
>Open a Folder or Repository</gl-button
110110
>
111111
</p>
@@ -125,7 +125,7 @@ <h1 class="alert__title">Unsafe repository</h1>
125125
not being owned by the current user.
126126
</p>
127127
<p class="centered">
128-
<gl-button class="is-basic" data-action="command:workbench.view.scm"
128+
<gl-button class="is-basic" href="command:workbench.view.scm"
129129
>Manage in Source Control</gl-button
130130
>
131131
</p>
@@ -136,7 +136,7 @@ <h1 class="alert__title">Untrusted workspace</h1>
136136
<div class="alert__description">
137137
<p>Unable to open repositories in Restricted Mode.</p>
138138
<p class="centered">
139-
<gl-button class="is-basic" data-action="command:workbench.trust.manage"
139+
<gl-button class="is-basic" href="command:workbench.trust.manage"
140140
>Manage Workspace Trust</gl-button
141141
>
142142
</p>
@@ -172,7 +172,7 @@ <h1 class="alert__title">Get Started with GitLens</h1>
172172
<p>Explore all of the powerful features in GitLens</p>
173173
<p class="button-container">
174174
<span class="button-group button-group--single">
175-
<gl-button appearance="secondary" full data-action="command:gitlens.getStarted?%22home%22"
175+
<gl-button appearance="secondary" full href="command:gitlens.getStarted?%22home%22"
176176
><code-icon icon="info" slot="prefix"></code-icon> Open Walkthrough</gl-button
177177
>
178178
<gl-tooltip hoist>

0 commit comments

Comments
 (0)