Skip to content

Commit

Permalink
Hide Prev and Next button in history of permanent pages
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Apr 25, 2018
1 parent d32cd52 commit 1d5cd2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/todo-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<input class="title-editor" v-model.trim.lazy="title" @keyup.enter="blur" v-else>
<div class="links">
<updater v-show="!reviewing"></updater>
<span class="prev" @click="reviewing--" v-if="reviewing > 1">
<span class="prev" @click="reviewing--" v-if="!permanent && reviewing > 1">
{{ i18n('Previous#!27') }}
</span>
<span class="next" @click="reviewing++" v-if="reviewing && !last">
<span class="next" @click="reviewing++" v-if="!permanent && reviewing && !last">
{{ i18n('Next#!28') }}
</span>
</div>
Expand Down

0 comments on commit 1d5cd2d

Please sign in to comment.