Bug fixes and encryption handling
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
<h2 v-if="fastFilters['withTags'] == 1">Notes with Tags</h2>
|
||||
<h2 v-if="fastFilters['onlyArchived'] == 1">Archived Notes</h2>
|
||||
<h2 v-if="fastFilters['onlyShowSharedNotes'] == 1">Shared Notes</h2>
|
||||
<h2 v-if="fastFilters['onlyShowEncrypted'] == 1">Password Protected Notes</h2>
|
||||
|
||||
<!-- tags section -->
|
||||
<div v-if="commonTags.length > 0" class="sixteen wide column">
|
||||
@@ -184,7 +185,8 @@
|
||||
'shared': ['envelope outline', 'Received Notes'],
|
||||
'sent': ['paper plane outline', 'Shared Notes'],
|
||||
'notes': ['file','Notes'],
|
||||
'highlights': ['paragraph', 'Found In Text']
|
||||
'highlights': ['paragraph', 'Found In Text'],
|
||||
'locked': ['lock', 'Password Protected']
|
||||
},
|
||||
noteSections: {
|
||||
pinned: [],
|
||||
@@ -193,6 +195,7 @@
|
||||
sent:[],
|
||||
notes: [],
|
||||
highlights: [],
|
||||
locked: []
|
||||
},
|
||||
|
||||
}
|
||||
@@ -599,6 +602,10 @@
|
||||
this.noteSections.sent.push(note)
|
||||
return
|
||||
}
|
||||
if(note.encrypted == 1 && this.fastFilters.onlyShowEncrypted == 1){
|
||||
this.noteSections.locked.push(note)
|
||||
return
|
||||
}
|
||||
if(note.note_highlights.length > 0){
|
||||
this.noteSections.highlights.push(note)
|
||||
return
|
||||
|
Reference in New Issue
Block a user