From fe25880fbc176cbd5fec6942dd3c2336a658eb96 Mon Sep 17 00:00:00 2001 From: fyyyyy Date: Tue, 15 Aug 2023 19:08:35 +0200 Subject: [PATCH] Feature: add zip download to dry run results page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See issue #19318 Signed-off-by: fyyyyy Signed-off-by: Fredrik Adelöw --- .../DryRunResults/DryRunResultsList.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/scaffolder/src/components/TemplateEditorPage/DryRunResults/DryRunResultsList.tsx b/plugins/scaffolder/src/components/TemplateEditorPage/DryRunResults/DryRunResultsList.tsx index 462c3b58fd..9163261985 100644 --- a/plugins/scaffolder/src/components/TemplateEditorPage/DryRunResults/DryRunResultsList.tsx +++ b/plugins/scaffolder/src/components/TemplateEditorPage/DryRunResults/DryRunResultsList.tsx @@ -25,6 +25,7 @@ import { makeStyles } from '@material-ui/core/styles'; import CancelIcon from '@material-ui/icons/Cancel'; import CheckIcon from '@material-ui/icons/Check'; import DeleteIcon from '@material-ui/icons/Delete'; +import DownloadIcon from '@material-ui/icons/GetApp'; import React from 'react'; import { useDryRun } from '../DryRunContext'; @@ -67,9 +68,18 @@ export function DryRunResultsList() { + dryRun.downloadResult(result.id)} + > + + dryRun.deleteResult(result.id)} >