From dc10088e6605d5fd8006c1b550dc56cac39b6b9f Mon Sep 17 00:00:00 2001
From: Vitalii Lysak <v.lysak@dunice.net>
Date: Thu, 14 Jul 2022 10:42:01 +0300
Subject: show file name for virtual device

---
 src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue')

diff --git a/src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue b/src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue
index 0f75bbd7..35168283 100644
--- a/src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue
+++ b/src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue
@@ -21,6 +21,15 @@
                   </template>
                 </form-file>
               </b-form-group>
+
+              <div
+                v-if="dev.isActive && dev.file && dev.file.name"
+                class="clear-selected-file px-3"
+                :style="{ 'margin-bottom': '1rem' }"
+              >
+                {{ dev.file.name }}
+              </div>
+
               <b-button
                 v-if="!dev.isActive"
                 variant="primary"
-- 
cgit v1.2.3

