From 0e1392c22fcc6405e4a07b9ad9fd5a193566945d Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Fri, 13 Dec 2024 13:34:34 +0200 Subject: [PATCH] storage: Don't navigate when clicking on the mobile kebab Let's use the same trick as with the table: Don't put the navigation handler on the whole card, but on all its children that should navigate, and exclude the menu button. Fixes #19897 --- pkg/storaged/pages.jsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkg/storaged/pages.jsx b/pkg/storaged/pages.jsx index 07c04622ee1b..6f2306c6a893 100644 --- a/pkg/storaged/pages.jsx +++ b/pkg/storaged/pages.jsx @@ -587,7 +587,7 @@ export const PageTable = ({ emptyCaption, aria_label, pages, crossrefs, sorted, if (narrow) { rows.push( - - { icon && {icon} } - {info} + { icon && {icon} } + + {info} + {actions} - + {type} {location} {size}