Hide "Switch to running" button on Intel environment

Add environment variable to control visibility of "Switch to running" button.

Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com>
Change-Id: If1d118ffd8c1e425f2f33eb0a54fff579bf8b6b4
diff --git a/.env.intel b/.env.intel
index f47d794..02506f5 100644
--- a/.env.intel
+++ b/.env.intel
@@ -2,6 +2,7 @@
 VUE_APP_ENV_NAME="intel"
 VUE_APP_COMPANY_NAME="intel"
 VUE_APP_SUBSCRIBE_SOCKET_DISABLED="true"
+VUE_APP_SWITCH_TO_BACKUP_IMAGE_DISABLED="true"
 VUE_APP_VIRTUAL_MEDIA_LIST_ENABLED="true"
 CUSTOM_STYLES="true"
 CUSTOM_APP_NAV="true"
diff --git a/src/views/Configuration/Firmware/FirmwareCardsBmc.vue b/src/views/Configuration/Firmware/FirmwareCardsBmc.vue
index 2f038b9..d79a876 100644
--- a/src/views/Configuration/Firmware/FirmwareCardsBmc.vue
+++ b/src/views/Configuration/Firmware/FirmwareCardsBmc.vue
@@ -33,6 +33,7 @@
             </dd>
           </dl>
           <b-btn
+            v-if="!switchToBackupImageDisabled"
             v-b-modal.modal-switch-to-running
             data-test-id="firmware-button-switchToRunning"
             variant="link"
@@ -71,6 +72,8 @@
   data() {
     return {
       loading,
+      switchToBackupImageDisabled:
+        process.env.VUE_APP_SWITCH_TO_BACKUP_IMAGE_DISABLED === 'true',
     };
   },
   computed: {