Skip to content

Commit

Permalink
Things list: Fix location tab (#2501)
Browse files Browse the repository at this point in the history
Regression from #2499.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 authored Mar 25, 2024
1 parent e5749f6 commit aa7543f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export default {
}, {})
} else {
const locationGroups = this.things.reduce((prev, thing, i, things) => {
if (!this.showNoLocation) return prev
if (!thing.location && !this.showNoLocation) return prev
const location = thing.location || '- No location -'
if (!prev[location]) {
prev[location] = []
Expand Down

0 comments on commit aa7543f

Please sign in to comment.