Fix server LED switch value on error

Add error state handling in the ServerLed store to make sure the
UI accurately reflects the state if there is an error.

Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I7f3647df9f5a32e241005eb7058a7cda1e0ba36a
diff --git a/src/views/Control/ServerLed/ServerLed.vue b/src/views/Control/ServerLed/ServerLed.vue
index e5c6dac..72726ba 100644
--- a/src/views/Control/ServerLed/ServerLed.vue
+++ b/src/views/Control/ServerLed/ServerLed.vue
@@ -64,9 +64,7 @@
           indicatorLedActiveState
         )
         .then((message) => this.successToast(message))
-        .catch(({ message }) => {
-          this.errorToast(message);
-        });
+        .catch(({ message }) => this.errorToast(message));
     },
   },
 };
diff --git a/src/views/Overview/OverviewQuickLinks.vue b/src/views/Overview/OverviewQuickLinks.vue
index 82975f5..1b84ce7 100644
--- a/src/views/Overview/OverviewQuickLinks.vue
+++ b/src/views/Overview/OverviewQuickLinks.vue
@@ -92,9 +92,7 @@
           indicatorLedActiveState
         )
         .then((message) => this.successToast(message))
-        .catch(({ message }) => {
-          this.errorToast(message);
-        });
+        .catch(({ message }) => this.errorToast(message));
     },
   },
 };