From d60eddf410b7cc1607a33d4b9d02ec60f07eb62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 21 Jun 2021 12:57:25 +0200 Subject: [PATCH] MOBILE-3320 airnotifier: Improve devices screen --- .../messageoutput/airnotifier/pages/devices/devices.html | 9 ++++++--- .../messageoutput/airnotifier/pages/devices/devices.ts | 7 ++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/addons/messageoutput/airnotifier/pages/devices/devices.html b/src/addons/messageoutput/airnotifier/pages/devices/devices.html index c58851492..02ea186de 100644 --- a/src/addons/messageoutput/airnotifier/pages/devices/devices.html +++ b/src/addons/messageoutput/airnotifier/pages/devices/devices.html @@ -12,10 +12,13 @@ - + - {{ device.name }} {{ device.model }} {{ device.platform }} {{ device.version }} - ({{ 'core.currentdevice' | translate }}) +

+ {{ device.name }} {{ device.model }} + ({{ 'core.currentdevice' | translate }}) +

+

{{ device.platform }} {{ device.version }}

{ + const compareA = a.name.toLowerCase(); + const compareB = b.name.toLowerCase(); + + return compareA.localeCompare(compareB); + }); } /**