diff options
author | Jakob Röhrl <jakob.roehrl@web.de> | 2020-10-27 12:58:17 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-27 17:54:15 +0300 |
commit | db05c33a7f22df3cb2d37614ccf52295b3950f82 (patch) | |
tree | 489f10ce4e7003f42ead0b3d9b50aa37f787c354 /src | |
parent | 0e23e2e32da397bfb59ba7423f4dea431d709942 (diff) |
change sort
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/views/Dashboard.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 98b4c20cc..8bd498028 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -163,7 +163,7 @@ export default { this.roomOptions = importantRooms.slice(0, 7) this.hasImportantConversations = true } else { - this.roomOptions = rooms.sort(propertySort(['-lastActivity'])).slice(0, 5) + this.roomOptions = rooms.sort(propertySort(['-isFavorite', '-lastActivity'])).slice(0, 5) this.hasImportantConversations = false } |