From 1c8ca3f3d1ff100d41b3fa0328357829966aa599 Mon Sep 17 00:00:00 2001 From: Kyle Doherty <kyle.l.doherty@gmail.com> Date: Thu, 29 Dec 2016 13:52:55 -0800 Subject: [PATCH] fix unarchive copy --- frontend/src/metabase/questions/components/ArchivedItem.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/metabase/questions/components/ArchivedItem.jsx b/frontend/src/metabase/questions/components/ArchivedItem.jsx index cc8954514eb..bcfe9200e77 100644 --- a/frontend/src/metabase/questions/components/ArchivedItem.jsx +++ b/frontend/src/metabase/questions/components/ArchivedItem.jsx @@ -15,7 +15,7 @@ const ArchivedItem = ({ name, type, icon, color = '#DEEAF1', isAdmin = false, on /> { name } { isAdmin && - <Tooltip tooltip={`Unarchive this ${type}`}> + <Tooltip tooltip={`Unarchive this ${type === "card" ? "question" : type}`}> <Icon onClick={onUnarchive} className="ml-auto cursor-pointer text-brand-hover hover-child" -- GitLab