From 20b632e6931d82cc8bdf748af9821910d34bfdf3 Mon Sep 17 00:00:00 2001 From: aestene Date: Wed, 8 Nov 2023 10:02:00 +0100 Subject: [PATCH] Match ordering of enums in frontend and backend --- backend/api/Database/Models/Robot.cs | 2 +- frontend/src/models/Robot.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/api/Database/Models/Robot.cs b/backend/api/Database/Models/Robot.cs index 53c9a300b..9f7f26cee 100644 --- a/backend/api/Database/Models/Robot.cs +++ b/backend/api/Database/Models/Robot.cs @@ -118,7 +118,7 @@ public enum RobotStatus Available, Busy, Offline, - Deprecated, Blocked, + Deprecated } } diff --git a/frontend/src/models/Robot.ts b/frontend/src/models/Robot.ts index ec06e5db4..a87064820 100644 --- a/frontend/src/models/Robot.ts +++ b/frontend/src/models/Robot.ts @@ -7,9 +7,9 @@ import { VideoStream } from './VideoStream' export enum RobotStatus { Available = 'Available', Busy = 'Busy', + Offline = 'Offline', Blocked = 'Blocked', SafeZone = 'Safe Zone', - Offline = 'Offline', } export interface Robot {