diff --git a/frontend/src/metabase/components/EntityItem.jsx b/frontend/src/metabase/components/EntityItem.jsx
index ede6ba6f67374cbfc70d8b90cbe56d1925596e1e..62d6a8918a06e03e7882d4f0cab75649d75766fd 100644
--- a/frontend/src/metabase/components/EntityItem.jsx
+++ b/frontend/src/metabase/components/EntityItem.jsx
@@ -96,7 +96,12 @@ const EntityItem = ({
             {
               title: t`Archive`,
               icon: "archive",
-              action: () => item.setArchived(item),
+              action: () => {
+                try {
+                  item.setArchived(true)
+                } finally {
+                }
+              }
             },
           ]}
         />