Skip to content
Snippets Groups Projects
Commit 6b921b82 authored by Haakon Tideman Kanter's avatar Haakon Tideman Kanter
Browse files

Merge branch 'rent_history_date_fix' into 'main'

Rent history date fix

See merge request !99
parents 25498281 b748646f
No related branches found
No related tags found
1 merge request!99Rent history date fix
Pipeline #180531 passed
...@@ -44,10 +44,10 @@ export default { ...@@ -44,10 +44,10 @@ export default {
computed: { computed: {
fullHistory() { fullHistory() {
function compareHistoryItems(itemA, itemB) { function compareHistoryItems(itemA, itemB) {
if (itemA.fromTime < itemB.fromTime) { if (itemA.fromTime > itemB.fromTime) {
return -1; return -1;
} }
if (itemA.fromTime > itemB.fromTime) { if (itemA.fromTime < itemB.fromTime) {
return 1; return 1;
} }
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment