Bugfix Day 1

* Fixed attachments being displayed that were on archived or deleted notes
* Added options to show attachments on archived or trashed notes
* Showing note files will show all attachments for note even if its archived or trashed with mixed file types
* Fixed text about "Flux" theme which was removed
* Fixed bug when opening metric tracking that would prevent default fields from being shown
This commit is contained in:
Max
2022-12-20 19:59:03 +00:00
parent 789a4e47d4
commit 7f65587db6
8 changed files with 71 additions and 15 deletions

View File

@@ -35,6 +35,23 @@
<i class="copy icon"></i>
Other Files
</router-link>
<router-link
v-if="$store.getters.totals && $store.getters.totals['archivedNotes']"
exact-active-class="green"
class="ui basic button shrinking"
to="/attachments/type/archived">
<i class="archive icon"></i>
Archived
</router-link>
<router-link
v-if="$store.getters.totals && $store.getters.totals['trashedNotes']"
exact-active-class="green"
class="ui basic button shrinking"
to="/attachments/type/trashed">
<i class="trash icon"></i>
Trashed
</router-link>
<router-link
v-if="$store.getters.totals && $store.getters.totals['sharedToNotes']"

View File

@@ -1229,7 +1229,11 @@
this.setApplicationStateJson(appData)
}
})
.catch(error => { this.$bus.$emit('notification', error) })
.catch(error => {
this.$bus.$emit('notification', error)
this.setApplicationStateJson(null)
})
},
setApplicationStateJson(json){
@@ -1238,7 +1242,7 @@
// Can be called via import or Ajax on load
this.cycleData = json?.cycleData || this.cycleData
this.fields = [...new Set(json.fields)] || this.fields
this.fields = [...new Set(json?.fields)] || this.fields
this.userFields = json?.userFields || this.userFields
// this.graphs = json?.graphs || this.graphs

File diff suppressed because one or more lines are too long

View File

@@ -23,6 +23,8 @@
</div>
<tag-display
v-if="$store.getters.totals && Object.keys($store.getters.totals['tags'] || {}).length"
:user-tags="$store.getters.totals['tags']"
:active-tags="searchTags"
v-on:tagClick="tagId => toggleTagFilter(tagId)"
/>