зеркало из https://github.com/nextcloud/forms.git
Fix inverted sorting in frontend for shared forms
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
This commit is contained in:
Родитель
44f14dc668
Коммит
7eba562601
|
@ -372,7 +372,7 @@ export default {
|
|||
} else {
|
||||
const sharedFormIndex = this.sharedForms.findIndex(form => form.id === id)
|
||||
this.sharedForms[sharedFormIndex].lastUpdated = moment().unix()
|
||||
this.sharedForms.sort((a, b) => a.lastUpdated - b.lastUpdated)
|
||||
this.sharedForms.sort((b, a) => a.lastUpdated - b.lastUpdated)
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче