Skip to content

Commit

Permalink
Prevent recently modified from showing in read_only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dullage authored and Gedulis12 committed Aug 7, 2023
1 parent 3535978 commit a3aa2a8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions flatnotes/src/components/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@
:initial-value="searchTerm"
class="search-input mb-4"
></SearchInput>
<RecentlyModified
class="recently-modified"
:max-notes="5"
></RecentlyModified>
<div v-if="authType != null && authType != constants.authTypes.readOnly">
<RecentlyModified
class="recently-modified"
:max-notes="5"
></RecentlyModified>
</div>
</div>

<!-- Search Results -->
Expand Down

0 comments on commit a3aa2a8

Please sign in to comment.