diff --git a/src/App.vue b/src/App.vue index 2df07ba10e..34658dcee4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -980,6 +980,10 @@ a:hover { flex: 1; } +.nowrap { + white-space: nowrap; +} + .z300 { z-index: 300000; } diff --git a/src/components/pages/Assets.vue b/src/components/pages/Assets.vue index 74c6dbb244..60b956976e 100644 --- a/src/components/pages/Assets.vue +++ b/src/components/pages/Assets.vue @@ -845,8 +845,8 @@ export default { searchQuery !== 'undefined' ) { this.setAssetSearch(searchQuery) - this.setSearchInUrl() } + this.setSearchInUrl() if (clearSelection) { this.clearSelection() } diff --git a/src/components/pages/Edits.vue b/src/components/pages/Edits.vue index ad2b288342..a1cecffe98 100644 --- a/src/components/pages/Edits.vue +++ b/src/components/pages/Edits.vue @@ -834,9 +834,10 @@ export default { const searchQuery = this.searchField.getValue() || '' if (searchQuery.length !== 1 && !this.isLongEditList) { this.applySearch(searchQuery) - } - if (searchQuery.length === 0 && this.isLongEditList) { + } else if (searchQuery.length === 0 && this.isLongEditList) { this.applySearch('') + } else { + this.setSearchInUrl() } if (clearSelection) { this.clearSelection() diff --git a/src/components/pages/SequenceStats.vue b/src/components/pages/SequenceStats.vue index 2ee79502c3..b144267d57 100644 --- a/src/components/pages/SequenceStats.vue +++ b/src/components/pages/SequenceStats.vue @@ -181,7 +181,7 @@ export default { this.$router.push(this.sequencesPath) }, - onSearchChange(event) { + onSearchChange() { const searchQuery = this.$refs['sequence-search-field'].getValue() this.setSequenceStatsSearch(searchQuery) }, diff --git a/src/components/pages/Shots.vue b/src/components/pages/Shots.vue index b3ea670e60..6051d3506f 100644 --- a/src/components/pages/Shots.vue +++ b/src/components/pages/Shots.vue @@ -941,9 +941,10 @@ export default { const searchQuery = this.searchField.getValue() || '' if (searchQuery.length !== 1 && !this.isLongShotList) { this.applySearch(searchQuery) - } - if (searchQuery.length === 0 && this.isLongShotList) { + } else if (searchQuery.length === 0 && this.isLongShotList) { this.applySearch('') + } else { + this.setSearchInUrl() } if (clearSelection) { this.clearSelection() diff --git a/src/components/pages/playlists/PlaylistPlayer.vue b/src/components/pages/playlists/PlaylistPlayer.vue index 03e5a8247e..4ce8f70b27 100644 --- a/src/components/pages/playlists/PlaylistPlayer.vue +++ b/src/components/pages/playlists/PlaylistPlayer.vue @@ -403,30 +403,37 @@ /> -