From a8c1825c94cc551416b651aa4f8793135d633340 Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Mon, 29 Apr 2024 10:27:16 +0000 Subject: [PATCH] [CodeFactor] Apply fixes --- .../grid/grid_active_heard_stations.vue | 47 ++++++++++--------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/freedata_gui/src/components/grid/grid_active_heard_stations.vue b/freedata_gui/src/components/grid/grid_active_heard_stations.vue index 30c8f03d..a6a47468 100644 --- a/freedata_gui/src/components/grid/grid_active_heard_stations.vue +++ b/freedata_gui/src/components/grid/grid_active_heard_stations.vue @@ -40,26 +40,27 @@ function pushToPing(origin) { ); } - function getActivityInfo(activityType) { - switch (activityType) { - case "ARQ_SESSION_INFO": - return { iconClass: "bi bi-info-circle", description: activityType }; - case "ARQ_SESSION_OPEN": - return { iconClass: "bi bi-link", description: activityType }; - case "ARQ_SESSION_OPEN_ACK": - return { iconClass: "bi bi-link", description: activityType }; - case "QRV": - return { iconClass: "bi bi-person-raised-hand", description: activityType }; - case "CQ": - return { iconClass: "bi bi-megaphone", description: activityType }; - case "BEACON": - return { iconClass: "bi bi-globe", description: activityType }; - default: - return { iconClass: "", description: activityType }; - } +function getActivityInfo(activityType) { + switch (activityType) { + case "ARQ_SESSION_INFO": + return { iconClass: "bi bi-info-circle", description: activityType }; + case "ARQ_SESSION_OPEN": + return { iconClass: "bi bi-link", description: activityType }; + case "ARQ_SESSION_OPEN_ACK": + return { iconClass: "bi bi-link", description: activityType }; + case "QRV": + return { + iconClass: "bi bi-person-raised-hand", + description: activityType, + }; + case "CQ": + return { iconClass: "bi bi-megaphone", description: activityType }; + case "BEACON": + return { iconClass: "bi bi-globe", description: activityType }; + default: + return { iconClass: "", description: activityType }; } - - +}