From 9b65e01d2f84537caf7b22bb8a86dbfcfc19dcc2 Mon Sep 17 00:00:00 2001 From: Evgenii Alekseev Date: Mon, 19 Oct 2026 10:22:38 +0300 Subject: [PATCH] feat: show notification on hold action --- frontend/src/components/dialogs/PackageInfoDialog.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/dialogs/PackageInfoDialog.tsx b/frontend/src/components/dialogs/PackageInfoDialog.tsx index fb0957b4..69b6873d 100644 --- a/frontend/src/components/dialogs/PackageInfoDialog.tsx +++ b/frontend/src/components/dialogs/PackageInfoDialog.tsx @@ -126,6 +126,7 @@ export default function PackageInfoDialog({ try { const newHeldStatus = !(status?.is_held ?? false); await client.service.servicePackageHold(localPackageBase, currentRepository, newHeldStatus); + showSuccess("Success", `Package ${newHeldStatus ? "held" : "unheld"}`); void queryClient.invalidateQueries({ queryKey: QueryKeys.package(localPackageBase, currentRepository) }); } catch (exception) { showError("Action failed", `Could not update hold status: ${ApiError.errorDetail(exception)}`);