Skip to content

Commit 2270b6a

Browse files
committed
refactor minor
1 parent 52c9f09 commit 2270b6a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/TutorialsList.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@
4343
<label><strong>Status:</strong></label> {{ currentTutorial.published ? "Published" : "Pending" }}
4444
</div>
4545

46-
<a class="badge badge-warning"
47-
:href="'/tutorials/' + currentTutorial.id"
48-
>
49-
Edit
50-
</a>
46+
<router-link :to="'/tutorials/' + currentTutorial.id" class="badge badge-warning">Edit</router-link>
5147
</div>
5248
<div v-else>
5349
<br />

0 commit comments

Comments
 (0)