From 14e4cbf749b40664eb30f6678cfcd9fc28f7b140 Mon Sep 17 00:00:00 2001 From: Lorenzo Alberto Maria Ambrosi Date: Fri, 19 Jun 2020 17:08:54 +0200 Subject: [PATCH] Add icon to plug targets in targets modal Change-type: patch Signed-off-by: Lorenzo Alberto Maria Ambrosi --- .../target-selector/target-selector-modal.tsx | 10 +++++++++- lib/gui/assets/tgt.svg | 12 ++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 lib/gui/assets/tgt.svg diff --git a/lib/gui/app/components/target-selector/target-selector-modal.tsx b/lib/gui/app/components/target-selector/target-selector-modal.tsx index f0d0b56b..ccff228c 100644 --- a/lib/gui/app/components/target-selector/target-selector-modal.tsx +++ b/lib/gui/app/components/target-selector/target-selector-modal.tsx @@ -52,6 +52,8 @@ import { logEvent, logException } from '../../modules/analytics'; import { open as openExternal } from '../../os/open-external/services/open-external'; import { Modal } from '../../styled-components'; +import TargetSVGIcon from '../../../assets/tgt.svg'; + interface UsbbootDrive extends sourceDestination.UsbbootDrive { progress: number; } @@ -387,7 +389,13 @@ export class TargetSelectorModal extends React.Component< > {!hasAvailableDrives() ? ( - + + Plug a target drive ) : ( diff --git a/lib/gui/assets/tgt.svg b/lib/gui/assets/tgt.svg new file mode 100644 index 00000000..3193c769 --- /dev/null +++ b/lib/gui/assets/tgt.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + +