From a6e04611f241c3f09652bc07fecc303ffbc07e08 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Fri, 21 Jul 2023 19:33:16 -0500 Subject: [PATCH] feat(gui): add profile download button --- gui/src/components/Profiles.tsx | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gui/src/components/Profiles.tsx b/gui/src/components/Profiles.tsx index e3a9230d..2671b1de 100644 --- a/gui/src/components/Profiles.tsx +++ b/gui/src/components/Profiles.tsx @@ -1,5 +1,5 @@ import { InvalidArgumentError, Maybe, doesExist, mustExist } from '@apextoaster/js-utils'; -import { Delete as DeleteIcon, ImageSearch, Save as SaveIcon } from '@mui/icons-material'; +import { Delete as DeleteIcon, Download, ImageSearch, Save as SaveIcon } from '@mui/icons-material'; import { Autocomplete, Button, @@ -153,6 +153,11 @@ export function Profiles(props: ProfilesProps) { }} /> + ; } @@ -174,6 +179,21 @@ export async function loadParamsFromFile(file: File): Promise> { const tags = await ExifReader.load(file);