From 6b985c19a10da0a6020a024539c23c6817dd297c Mon Sep 17 00:00:00 2001
From: Vyacheslav Kott <vyacheslav.kott@gitlab.demlabs.net>
Date: Tue, 30 Jan 2024 15:38:08 +0600
Subject: [PATCH] [*] change the order of adding nodes for tracking on the
 diagnostics page

---
 .../Modules/Diagnostics/DapModuleDiagnostics.cpp                | 2 +-
 version.mk                                                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CellFrameDashboardGUI/Modules/Diagnostics/DapModuleDiagnostics.cpp b/CellFrameDashboardGUI/Modules/Diagnostics/DapModuleDiagnostics.cpp
index 863365b4c..e22412843 100644
--- a/CellFrameDashboardGUI/Modules/Diagnostics/DapModuleDiagnostics.cpp
+++ b/CellFrameDashboardGUI/Modules/Diagnostics/DapModuleDiagnostics.cpp
@@ -195,7 +195,7 @@ void DapModuleDiagnostics::addNodeToList(QString mac)
     }
     QJsonObject obj;
     obj.insert("mac", mac);
-    arr.append(obj);
+    arr.insert(0, obj);
     updateNode(arr);
 }
 
diff --git a/version.mk b/version.mk
index 461ca1d61..447fc67bf 100644
--- a/version.mk
+++ b/version.mk
@@ -1,4 +1,4 @@
 VERSION_MAJOR=2
 VERSION_MINOR=13
-VERSION_PATCH=17
+VERSION_PATCH=18
 
-- 
GitLab