git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c86f3a7
)
Prevent recently modified from showing in read_only mode
author
Adam Dullage
<redacted>
Thu, 3 Aug 2023 18:37:16 +0000
(19:37 +0100)
committer
Adam Dullage
<redacted>
Thu, 3 Aug 2023 18:37:16 +0000
(19:37 +0100)
flatnotes/src/components/App.vue
patch
|
blob
|
history
diff --git
a/flatnotes/src/components/App.vue
b/flatnotes/src/components/App.vue
index 9397c8acbd2bca2ac45d94cfbdd2fad82c925243..78f0b71caedcf3fb5b4c8412b855f26eae55e5c3 100644
(file)
--- a/
flatnotes/src/components/App.vue
+++ b/
flatnotes/src/components/App.vue
@@
-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 -->
git clone https://git.99rst.org/PROJECT