From 09a91e0749c49158e267f507425dee9f7a027f93 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Wed, 22 May 2024 15:06:15 -0500 Subject: [PATCH 1/3] [24.0] Add `GenericItem` error handling `GenericItem` was missing a `onError` function. Now, it catches backend errors and displays a `Toast` message for any failed operation. Fixes https://github.com/galaxyproject/galaxy/issues/18176 --- .../History/Content/GenericItem.vue | 39 +++++++++++++++---- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/client/src/components/History/Content/GenericItem.vue b/client/src/components/History/Content/GenericItem.vue index d852539f2d15..0669ee3f866d 100644 --- a/client/src/components/History/Content/GenericItem.vue +++ b/client/src/components/History/Content/GenericItem.vue @@ -25,12 +25,14 @@