Frontend: Fix Photo.fileModels() #356

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-06-30 18:23:40 +02:00
parent 15a5fd3c37
commit e4eb89fdc6

View file

@ -249,7 +249,7 @@ export class Photo extends RestModel {
return 1; return 1;
} }
return a.localeCompare(b); return a.Name.localeCompare(b.Name);
}); });
return result; return result;