From 0781675dbe0d81e0cda861a94cf339cb90eed1a2 Mon Sep 17 00:00:00 2001 From: lupusA Date: Fri, 8 Dec 2023 20:30:13 +0100 Subject: [PATCH] fix: changed button and added missing word in snapshots.jsx --- src/pages/Snapshots.jsx | 2 +- src/utils/uiutil.jsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/Snapshots.jsx b/src/pages/Snapshots.jsx index de4de36..ffabeaa 100644 --- a/src/pages/Snapshots.jsx +++ b/src/pages/Snapshots.jsx @@ -140,7 +140,7 @@ export class Snapshots extends Component { case "PENDING": return <> - +  Pending ; diff --git a/src/utils/uiutil.jsx b/src/utils/uiutil.jsx index 09562c1..944b480 100644 --- a/src/utils/uiutil.jsx +++ b/src/utils/uiutil.jsx @@ -1,4 +1,4 @@ -import { faBan, faCheck, faChevronLeft, faCopy, faExclamationCircle, faExclamationTriangle, faFolderOpen, faTerminal, faWindowClose } from '@fortawesome/free-solid-svg-icons'; +import { faBan, faCheck, faChevronLeft, faCopy, faExclamationCircle, faExclamationTriangle, faFolderOpen, faRectangleXmark, faTerminal} from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import axios from 'axios'; import React, { useState } from 'react'; @@ -275,7 +275,9 @@ export function taskStatusSymbol(task) { return <> Running for {dur}   - cancelTask(task.id)} /> + ; case "SUCCESS":